MathML linebreaks in MathJax 3

11 views
Skip to first unread message

Charlie Belinsky

unread,
Nov 18, 2021, 5:27:01 PM11/18/21
to MathJax Users
Hello,

The following MathML worked in MathJax 2 but not MathJax 3 (or, at least I cannot get it to work):
  <mn>1</mn>
  <mspace linebreak="newline"></mspace>
  <mn>2</mn>
</math>

In MathJax 2.7.4 it outputs 1 and 2 on separate lines.
In MathJax 3.2.0 it just outputs 12 with no linebreak.

Is this something that has not been implemented in MathJax 3?  Or, is there something wrong with the code?  The code comes from the Equation Editor in our Content Management System -- so I cannot change it much.  The best I can do is use JavaScript to tweak it a bit.

thanks much,
Charlie

Peter Krautzberger

unread,
Nov 19, 2021, 2:54:55 AM11/19/21
to MathJax Users
Linebreaks are not yet supported in MathJax v3, see https://github.com/mathjax/MathJax/issues/2312
Reply all
Reply to author
Forward
0 new messages