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/Table.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/Table.html')
-rw-r--r-- | html-test/ref/Table.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/html-test/ref/Table.html b/html-test/ref/Table.html index deaf6b1c..75a21629 100644 --- a/html-test/ref/Table.html +++ b/html-test/ref/Table.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 @@ -217,9 +219,11 @@ span rows. </td ><td colspan="2" rowspan="2" - > \[ + > <span class="mathjax" + >\[ f(n) = \sum_{i=1} - \] </td + \]</span + > </td ></tr ><tr ><td |