aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index 12444f75f..95aa1ac24 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -317,7 +317,8 @@ pandocToHtml opts (Pandoc meta blocks) = do
MathJax url
| slideVariant /= RevealJsSlides ->
-- mathjax is handled via a special plugin in revealjs
- H.script ! A.src (toValue $ toURI html5 url)
+ H.script ! A.defer mempty
+ ! A.src (toValue $ toURI html5 url)
! A.type_ "text/javascript"
$ case slideVariant of
SlideousSlides ->