git.iko.soy/typeable/pandoc
on master help sign in
If gladtex specified, don't prettyprint <EQ> tags, or gladtex gets confused.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1136 788f1e2b-df1e-0410-8736-df70ead52e1b

commit3dc0a9141c2e56e619d3da15d0d7859098a38cde authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 2 Dec 2007, 16:49 (19 years ago) parentaf2ea86
1 file changed+1−1
Text/Pandoc/Writers/HTML.hs+1−1
Text/Pandoc/Writers/HTML.hs+1−1
@@ -409,7 +409,7 @@ inlineToHtml opts inline =
409409 return $ image ! [src (url ++ "?" ++ str),
410410 alt str, title str]
411411 GladTeX ->
412− return $ tag "eq" << str
412+ return $ primHtml $ "<EQ>" ++ str ++ "</EQ>"
413413 PlainMath ->
414414 inlineListToHtml opts (readTeXMath str) >>=
415415 return . (thespan ! [theclass "math"]))