diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-10-06 17:21:33 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-10-06 17:21:33 -0700 |
commit | dbd4aee7305ed82c9daf33a59fd0c29d3e3461d6 (patch) | |
tree | 6347f9f51f71b559411508de63fc5bc3579906fa /src/Text/Pandoc | |
parent | d6ccebdb2cbe9472649b6ca5e8396c904ea48018 (diff) | |
download | pandoc-dbd4aee7305ed82c9daf33a59fd0c29d3e3461d6.tar.gz |
Removed code that forces MathJax to typeset.
Closes #1012. Reopens #966. A better solution for #966 will just
affect slideous, not the other slide writers.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/HTML.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index 902c8bc53..f6775b13a 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -144,8 +144,7 @@ pandocToHtml opts (Pandoc meta blocks) = do MathJax url -> H.script ! A.src (toValue url) ! A.type_ "text/javascript" - $ preEscapedString - "MathJax.Hub.Queue([\"Typeset\",MathJax.Hub]);" + $ mempty JsMath (Just url) -> H.script ! A.src (toValue url) ! A.type_ "text/javascript" |