summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-09-12 08:41:42 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-09-12 08:45:02 -0700
commit0189997420cff0a38637a522d880815e1ee201c4 (patch)
treeaca5370eebc960212828caa422c594b68f83c6fc /src/pandoc.hs
parent4076e2f8be37b9e6e7b96d7a89c958740beb600c (diff)
Changed mathjax cdn url so it doesn't use https.
(This caused problems when used with --self-contained.) See #609.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 63a0df51a..af7004352 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -653,7 +653,7 @@ options =
(\arg opt -> do
let url' = case arg of
Just u -> u
- Nothing -> "https://d3eoax9i5htok0.cloudfront.net/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
+ Nothing -> "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
return opt { optHTMLMathMethod = MathJax url'})
"URL")
"" -- "Use MathJax for HTML math"