diff options
author | Christoph (Sheogorath) Kern | 2018-01-22 20:43:46 +0100 |
---|---|---|
committer | GitHub | 2018-01-22 20:43:46 +0100 |
commit | 7de6e3211f797ed9e9e5ca3d52181f77abf030d0 (patch) | |
tree | 8dc88e060df51106eedda199fe7ea571d0ffd5b4 /public/views/hackmd | |
parent | fbfe3272f58232e6a7e46a82232b4dab065e2390 (diff) | |
parent | 3a752fde5117e800d65e26cbe7b15d65eb5b491e (diff) |
Merge pull request #598 from xxyy/feature/csp
Implement basic CSP support
Diffstat (limited to 'public/views/hackmd')
-rw-r--r-- | public/views/hackmd/foot.ejs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/public/views/hackmd/foot.ejs b/public/views/hackmd/foot.ejs index 16ef5737..fc971132 100644 --- a/public/views/hackmd/foot.ejs +++ b/public/views/hackmd/foot.ejs @@ -1,6 +1,4 @@ -<script type="text/x-mathjax-config"> - MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }}); -</script> +<script src="<%= url %>/js/mathjax-config-extra.js"></script> <% if(useCDN) { %> <script src="https://cdnjs.cloudflare.com/ajax/libs/spin.js/2.3.2/spin.min.js" integrity="sha256-PieqE0QdEDMppwXrTzSZQr6tWFX3W5KkyRVyF1zN3eg=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script> |