belerico / py_asciimath

A simple converter from ASCIIMath to LaTeX or MathML and from MathML to LaTeX
MIT License
40 stars 10 forks source link

asciimath: Fix parsing of multiple quoted strings in same expression #13

Closed SeerLite closed 1 year ago

SeerLite commented 2 years ago

Previously "hello" + "world" would be translated to latex as:

\text{hello" + "world}

as opposed to the correct form:

\text{hello} + \text{world}