diff options
author | Literallie | 2017-10-18 19:37:55 +0200 |
---|---|---|
committer | Literallie | 2017-10-22 00:03:45 +0200 |
commit | 4238b9b3efc3a9c001b5e1cf6c1883ffd0f92800 (patch) | |
tree | 05810009e4780fc058d1f3a625d96cbb8985669b /public/views/hackmd | |
parent | 080436aebb4c4681f85cc8bf5d8563832ff8dbdd (diff) |
Fix MathJax CSP issues
Diffstat (limited to '')
-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 6a1f3b99..8438dce2 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> |