From 0189997420cff0a38637a522d880815e1ee201c4 Mon Sep 17 00:00:00 2001
From: John MacFarlane <fiddlosopher@gmail.com>
Date: Wed, 12 Sep 2012 08:41:42 -0700
Subject: [PATCH] Changed mathjax cdn url so it doesn't use https.

(This caused problems when used with --self-contained.)

See #609.
---
 src/pandoc.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"