aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-10-06 17:21:33 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-10-06 17:21:33 -0700
commitdbd4aee7305ed82c9daf33a59fd0c29d3e3461d6 (patch)
tree6347f9f51f71b559411508de63fc5bc3579906fa /src/Text/Pandoc
parentd6ccebdb2cbe9472649b6ca5e8396c904ea48018 (diff)
downloadpandoc-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.hs3
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"