summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/EPUB.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-01-30 11:31:50 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-30 11:31:50 +0100
commit7018003811f2b606808ddecb5c1ce12e27ad7d51 (patch)
tree9f70c8e454ee598f49a9f85f6c2e0a2ba4e629ac /src/Text/Pandoc/Writers/EPUB.hs
parent42257b9be935b92c9118d281543c26a30f04d44b (diff)
`--mathml` and MathML in HTMLMathMethod longer take an argument.
The argument was for a bridge javascript that used to be necessary in 2004. We have removed the script already.
Diffstat (limited to 'src/Text/Pandoc/Writers/EPUB.hs')
-rw-r--r--src/Text/Pandoc/Writers/EPUB.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs
index ae77c10a2..d21f7bea1 100644
--- a/src/Text/Pandoc/Writers/EPUB.hs
+++ b/src/Text/Pandoc/Writers/EPUB.hs
@@ -382,7 +382,7 @@ pandocToEPUB version opts doc@(Pandoc meta _) = do
, writerVariables = vars
, writerHTMLMathMethod =
if epub3
- then MathML Nothing
+ then MathML
else writerHTMLMathMethod opts
, writerWrapText = WrapAuto }
metadata <- getEPUBMetadata opts' meta