mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-27 09:55:57 +00:00
HTML writer: fixed error in Math writer that caused infinite loop.
This commit is contained in:
@@ -465,9 +465,11 @@ inlineToHtml opts inline =
|
||||
case texMathToMathML dt str of
|
||||
Right r -> return $ primHtml $
|
||||
ppcElement conf r
|
||||
Left _ -> inlineToHtml opts
|
||||
(Math t str)
|
||||
PlainMath ->
|
||||
Left _ -> inlineListToHtml opts
|
||||
(readTeXMath str) >>=
|
||||
return . (thespan !
|
||||
[theclass "math"])
|
||||
PlainMath ->
|
||||
inlineListToHtml opts (readTeXMath str) >>=
|
||||
return . (thespan ! [theclass "math"]) )
|
||||
(TeX str) -> case writerHTMLMathMethod opts of
|
||||
|
||||
Reference in New Issue
Block a user