asciimath / asciimathml

A new home for asciimathml
http://asciimath.org/
MIT License
958 stars 184 forks source link

Vec() crashes updater #130

Closed dlevear closed 3 years ago

dlevear commented 3 years ago

Go to asciimath.org. Type "vec()". You will get a Math Processing Error. image

This message will persist even when you replace "vec()" with something valid.

image

When I try to replace "vec()" by something, I get errors in the console (Chrome).

image

This issue seems to be exclusive to the "vec" operation. Typing "hat()" will not cause any issue, and neither will "tilde()" or "bar()" or "dot()" etc.

drlippman commented 3 years ago

I see the likely cause in ASCIIMathML.js. I can fix it here, but it will take a while (often months) for changes here to make their way upstream to MathJax.