malignmark tag present with linebreaking on causes output error on v4.beta6 #3232
Labels
Accepted
Issue has been reproduced by MathJax team
Code Example
Contains an illustrative code example, solution, or work-around
Merged
Merged into develop branch
v4
Issue Summary
malignmark causes Math Output error on all equations when linebreaking is on and the equation is broken
Steps to Reproduce:
Technical details:
I am using the following MathJax configuration:
See test file
and loading MathJax via
See test file - Loading from built source
Test File:
math_test.txt
https://papile.com/math_test.html
Supporting information:
This does not occur if the item does not break or if linebreaking is not enabled (Bug in LineBreakVisitor) Removing malignmark results in it breaking correctly with no error.
See https://github.com/mathjax/MathJax-src/blob/9d1370999feba6e608271b6309cb9d304c61b54a/ts/output/common/LinebreakVisitor.ts#L423 This is called with malignmark and it has no children. This makes
wrapper.childNodes[0]
undefined.The text was updated successfully, but these errors were encountered: