diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-03-08 15:57:08 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-03-08 15:57:08 +0100 |
commit | f05a1f7c60a87ae3f5f86dbe602bd784a9e5f2d7 (patch) | |
tree | 83a2f6eb1071910892f8142357567b5a6ec46bf7 /debian/patches | |
parent | e8b326ed2d1aca352f4e9d7a7d23f36d73c48d2e (diff) |
Unfuzz patch 1001.
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/1001_online_latexmathml_default.patch | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/debian/patches/1001_online_latexmathml_default.patch b/debian/patches/1001_online_latexmathml_default.patch index fc29691fa..ff7157c09 100644 --- a/debian/patches/1001_online_latexmathml_default.patch +++ b/debian/patches/1001_online_latexmathml_default.patch @@ -4,7 +4,7 @@ Last-Update: 2013-12-29 --- a/pandoc.hs +++ b/pandoc.hs -@@ -702,8 +702,11 @@ +@@ -705,8 +705,11 @@ , Option "m" ["latexmathml", "asciimathml"] (OptArg @@ -18,17 +18,16 @@ Last-Update: 2013-12-29 "URL") "" -- "Use LaTeXMathML script in html output" -@@ -1033,10 +1036,6 @@ +@@ -1038,9 +1041,6 @@ else throwIO e) variables' <- case mathMethod of - LaTeXMathML Nothing -> do -- s <- readDataFileUTF8 datadir -- ("LaTeXMathML.js") +- s <- readDataFileUTF8 datadir "LaTeXMathML.js" - return $ ("mathml-script", s) : variables MathML Nothing -> do - s <- readDataFileUTF8 datadir - ("MathMLinHTML.js") + s <- readDataFileUTF8 datadir "MathMLinHTML.js" + return $ ("mathml-script", s) : variables --- a/src/Text/Pandoc/Options.hs +++ b/src/Text/Pandoc/Options.hs @@ -234,7 +234,7 @@ |