Browse Source

Fixed issue with mathjax cdm again

pull/33/head
Jeffery Russell 6 years ago
parent
commit
2e9a8db2fe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/renderBlogPost.js

+ 1
- 1
utils/renderBlogPost.js View File

@ -111,7 +111,7 @@ module.exports=
//this line prevents older versions of pandoc from including invalid cdm scripts
result = result.split("<script src=\"https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full\" type=\"text/javascript\"></script>").join("");
result = result.split("<script src=\"https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML\" type=\"text/javascript\"></script>").join("");
if(blocks == -1)
resolve(result);

Loading…
Cancel
Save