jirutka / asciidoctor-katex

Asciidoctor extension for converting latexmath using KaTeX at build time
MIT License
17 stars 5 forks source link

Characters with special meaning for HTML are substituted with entities which breaks KaTeX #2

Closed jirutka closed 6 years ago

jirutka commented 6 years ago

Simple inequality breaks math formulas:

stem:[a < b]

fails with

ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 19: …{30} +1 \leq e &̲lt; 2^{30} - 1

So < is replaced with &lt; and KaTeX is confused...


Reported by @kalvotom in Course Pages.