diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-08-06 14:41:13 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-08-06 14:42:26 -0700 |
commit | d8ad766d17603784b86fc5c2e1b22864125d04d1 (patch) | |
tree | a1705c80eed652ea901d2ad3ed8613e8a7a6fc2b /src/Text/Pandoc/App | |
parent | 57417feaf425d1943f9503f669ccba37898e395f (diff) | |
download | pandoc-d8ad766d17603784b86fc5c2e1b22864125d04d1.tar.gz |
Options: Add `/tex-mml-chtml.js` to defaultMathJaxURL.
Previously we added this in processing command line options,
but not in processing defaults files, which was inconsistent.
Cloess #6593.
Diffstat (limited to 'src/Text/Pandoc/App')
-rw-r--r-- | src/Text/Pandoc/App/CommandLineOptions.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs index c3b05b70f..dec7ae41e 100644 --- a/src/Text/Pandoc/App/CommandLineOptions.hs +++ b/src/Text/Pandoc/App/CommandLineOptions.hs @@ -699,8 +699,7 @@ options = , Option "" ["mathjax"] (OptArg (\arg opt -> do - let url' = maybe (defaultMathJaxURL <> - "tex-mml-chtml.js") T.pack arg + let url' = maybe defaultMathJaxURL T.pack arg return opt { optHTMLMathMethod = MathJax url'}) "URL") "" -- "Use MathJax for HTML math" |