You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Entering 3 or more tick marks in a row ''' will throw a DoubleSuperscriptsError:
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import latex2mathml.converter
>>> latex2mathml.converter.convert("f'''(x)")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.11/dist-packages/latex2mathml/converter.py", line 71, in convert
math = convert_to_element(latex, xmlns, display, parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/latex2mathml/converter.py", line 85, in convert_to_element
_convert_group(iter(walk(latex)), row)
^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/latex2mathml/walker.py", line 34, in walk
return _walk(tokens)
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/latex2mathml/walker.py", line 135, in _walk
raise DoubleSuperscriptsError
latex2mathml.exceptions.DoubleSuperscriptsError
The text was updated successfully, but these errors were encountered:
Entering 3 or more tick marks in a row
'''
will throw aDoubleSuperscriptsError
:The text was updated successfully, but these errors were encountered: