HTML writer: Don't escape contents of EQ tags with --gladtex.
This fixes a regression from 1.8.x. Closes #428.
This commit is contained in:
parent
24e3a65167
commit
c468272e34
1 changed files with 2 additions and 2 deletions
|
@ -610,8 +610,8 @@ inlineToHtml opts inline =
|
|||
DisplayMath -> brtag >> m >> brtag
|
||||
GladTeX ->
|
||||
return $ case t of
|
||||
InlineMath -> preEscapedString "<EQ ENV=\"math\">" >> toHtml str >> preEscapedString "</EQ>"
|
||||
DisplayMath -> preEscapedString "<EQ ENV=\"displaymath\">" >> toHtml str >> preEscapedString "</EQ>"
|
||||
InlineMath -> preEscapedString $ "<EQ ENV=\"math\">" ++ str ++ "</EQ>"
|
||||
DisplayMath -> preEscapedString $ "<EQ ENV=\"displaymath\">" ++ str ++ "</EQ>"
|
||||
MathML _ -> do
|
||||
let dt = if t == InlineMath
|
||||
then DisplayInline
|
||||
|
|
Loading…
Reference in a new issue