Skip to content

Commit

Permalink
Fix path for MathMLInHTML.js script.
Browse files Browse the repository at this point in the history
This changed due to changes in pandoc.  Closes jgm#345.
Thanks to tstgruby.
  • Loading branch information
jgm authored and Sergey Koposov committed Oct 4, 2014
1 parent 3b90ae1 commit be67cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Network/Gitit/Export.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ respondSlides templ slideVariant page doc = do
$ T.pack body'
variables' <- if mathMethod cfg == MathML
then do
s <- liftIO $ readDataFileUTF8 (pandocUserData cfg) $
"data"</>"MathMLinHTML.js"
s <- liftIO $ readDataFileUTF8 (pandocUserData cfg)
"MathMLinHTML.js"
return [("mathml-script", s)]
else return []
template' <- liftIO $ getDefaultTemplate (pandocUserData cfg) templ
Expand Down

0 comments on commit be67cfe

Please sign in to comment.