mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 11:46:56 +00:00
@@ -638,7 +638,7 @@ inlineToHtml opts inline =
|
||||
Left _ -> inlineListToHtml opts
|
||||
(readTeXMath str) >>= return .
|
||||
(H.span ! A.class_ "math")
|
||||
MathJax _ -> return $ toHtml $
|
||||
MathJax _ -> return $ H.span ! A.class_ "math" $ toHtml $
|
||||
case t of
|
||||
InlineMath -> "\\(" ++ str ++ "\\)"
|
||||
DisplayMath -> "\\[" ++ str ++ "\\]"
|
||||
|
||||
Reference in New Issue
Block a user