aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock.hs
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2016-01-19 00:11:38 +0100
committerJoachim Breitner <mail@joachim-breitner.de>2016-01-19 00:11:38 +0100
commit89eac211dbe062b18e3bc25dd4317d4469078c77 (patch)
tree6980af772d179bac9f65f005ecc920f1cd683ee9 /haddock-api/src/Haddock.hs
parent695cb7fecc511e51ceded125dbba276a89a4d86b (diff)
Make sure --mathjax affects all written HTML files
This fixes #475.
Diffstat (limited to 'haddock-api/src/Haddock.hs')
-rw-r--r--haddock-api/src/Haddock.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock.hs b/haddock-api/src/Haddock.hs
index 72a6cc92..b119f06a 100644
--- a/haddock-api/src/Haddock.hs
+++ b/haddock-api/src/Haddock.hs
@@ -292,7 +292,7 @@ render dflags flags qual ifaces installedIfaces extSrcMap = do
when (Flag_GenIndex `elem` flags) $ do
ppHtmlIndex odir title pkgStr
- themes opt_contents_url sourceUrls' opt_wiki_urls
+ themes opt_mathjax opt_contents_url sourceUrls' opt_wiki_urls
allVisibleIfaces pretty
copyHtmlBits odir libDir themes