Closed songsuoyuan closed 9 years ago
Math inline environment not support '>' and '<' symbols.
Test: $x > y$ Return: ParseError: KaTeX parse error: Unexpected character: '&' at position 0: ̲>
$x > y$
ParseError: KaTeX parse error: Unexpected character: '&' at position 0: ̲>
Fix it by replacing '>' and '<' by '>' and '<' before passing text into katex.
Also, the mac version markdown plus has the same problem.
Thank you for the PR
Math inline environment not support '>' and '<' symbols.
Test:
$x > y$
Return:ParseError: KaTeX parse error: Unexpected character: '&' at position 0: ̲>
Fix it by replacing '>' and '<' by '>' and '<' before passing text into katex.
Also, the mac version markdown plus has the same problem.