diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-11-05 13:58:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-05 13:58:11 -0800 |
commit | 8a491e437f1c8379b66a420f8584c1761b45aa7e (patch) | |
tree | a608c0afd9f238376801e7fcf8588a2bac59f81c /html-test/ref/Bug310.html | |
parent | 0d9a81e20238a6b72f9f5c005f1f7e9cf05f6fb9 (diff) |
Only run MathJax on entities with "mathjax" class (#960)
Correspondingly, we wrap all inline/diplay math in
<span class="mathjax"> ... the math .... </span>
This fixes #959.
Diffstat (limited to 'html-test/ref/Bug310.html')
-rw-r--r-- | html-test/ref/Bug310.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/html-test/ref/Bug310.html b/html-test/ref/Bug310.html index 8fef21a6..17667054 100644 --- a/html-test/ref/Bug310.html +++ b/html-test/ref/Bug310.html @@ -7,7 +7,9 @@ /><link rel="stylesheet" type="text/css" href="#" /><script src="haddock-bundle.min.js" async="async" type="text/javascript" ></script - ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" + ><script type="text/x-mathjax-config" + >MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script + ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" ></script ></head ><body |