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
/node_modules/mathjax-full/mjs/input/tex/TexParser.js:328
node.childNodes[1].attributes.set(TexConstant.Attr.LATEX, str);
^
TypeError: Cannot read properties of undefined (reading 'attributes')
at TexParser.updateResult (/node_modules/mathjax-full/mjs/input/tex/TexParser.js:328:36)
at TexParser.parse (/node_modules/mathjax-full/mjs/input/tex/TexParser.js:51:14)
at TexParser.Parse (/node_modules/mathjax-full/mjs/input/tex/TexParser.js:74:18)
at new TexParser (/node_modules/mathjax-full/mjs/input/tex/TexParser.js:27:14)
at BaseMethods.MathFont (/node_modules/mathjax-full/mjs/input/tex/base/BaseMethods.js:165:15)
at CommandMap.parse (/node_modules/mathjax-full/mjs/input/tex/TokenMap.js:108:22)
at SubHandler.parse (/node_modules/mathjax-full/mjs/input/tex/MapHandler.js:33:32)
at TexParser.parse (/node_modules/mathjax-full/mjs/input/tex/TexParser.js:50:60)
at controlSequence (/node_modules/mathjax-full/mjs/input/tex/ParseMethods.js:45:16)
at RegExpMap.parse (/node_modules/mathjax-full/mjs/input/tex/TokenMap.js:21:49)
Node.js v21.7.1
The text was updated successfully, but these errors were encountered:
The following crashes the TeX parser.
This appears to be a regression from v4.beta3.
Minimal example:
\mathrm{a\_b}
.The text was updated successfully, but these errors were encountered: