diff options
Diffstat (limited to 'Text/Pandoc/ASCIIMathML.hs')
-rw-r--r-- | Text/Pandoc/ASCIIMathML.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Text/Pandoc/ASCIIMathML.hs b/Text/Pandoc/ASCIIMathML.hs index 2f634b0b0..72a1f0e19 100644 --- a/Text/Pandoc/ASCIIMathML.hs +++ b/Text/Pandoc/ASCIIMathML.hs @@ -3,9 +3,10 @@ -- (See <http://www1.chapman.edu/~jipsen/mathml/asciimath.html>.) module Text.Pandoc.ASCIIMathML ( asciiMathMLScript ) where import Text.Pandoc.Shared ( contentsOf ) +import System.FilePath ( (</>) ) -- | String containing ASCIIMathML javascript. asciiMathMLScript :: String asciiMathMLScript = "<script type=\"text/javascript\">\n" ++ - $(contentsOf $ "data/ASCIIMathML.js.comment") ++ - $(contentsOf $ "data/ASCIIMathML.js.packed") ++ "</script>\n" + $(contentsOf $ "data" </> "ASCIIMathML.js.comment") ++ + $(contentsOf $ "data" </> "ASCIIMathML.js.packed") ++ "</script>\n" |