-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"Math Processing Error" using CommonHTML with line breaks #1447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the detailed report! |
…come from other MathML nodes (those with IDs). Resolves issue mathjax#1447.
It turns out that the routine in CommonHTML that locates the superscripts and subscripts of the element being broken by the line break wasn't working correctly. It was finding one of the subscripts within the superscript when it should have been returning that there was no subscript. The |
Improve getNode() so that is finds the correct node. #1447
==> Merged. |
==> In testsuite MathMLToDisplay/Topics/LineBreak/issue1447.html |
An error is thrown when rendering a formula with the CommonHTML renderer in a column that's narrow enough to trigger line breaking, when the
linebreaks
config is set toautomatic: true
.An example that reproduces the error.
This only occurs when using the CommonHTML renderer - the HTML-CSS renderer doesn't have the same problem.
HTML-CSS:
CommonHTML:
The text was updated successfully, but these errors were encountered: