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
Thanks, I'll look into it. The jsdom adaptor probably needs to override the functions for measuring the content, as jsdom doesn't set the properties needed for that.
I've made a PR that addresses the problem. Since jsdom doesn't handle measurements of elements, like a browser DOM, we need to fake the measurements heuristically, like in the liteDOM.
E.g.,
/MathJax-demos-node$ node jsdom/tex2svg "\begin{pkra}x\end{pkra}"
creates
With several
NaN
s leading to broken output.The text was updated successfully, but these errors were encountered: