HTML writer: pass through inline math environments with KaTeX.

This commit is contained in:
John MacFarlane 2021-09-22 22:18:38 -07:00
parent d6dbbb89d0
commit 7ab2f4a61d

View file

@ -1636,6 +1636,7 @@ isMathEnvironment s = "\\begin{" `T.isPrefixOf` s &&
allowsMathEnvironments :: HTMLMathMethod -> Bool
allowsMathEnvironments (MathJax _) = True
allowsMathEnvironments (KaTeX _) = True
allowsMathEnvironments MathML = True
allowsMathEnvironments (WebTeX _) = True
allowsMathEnvironments _ = False