Support the `linebreak=newline` attribute for the `mspace` element
Submitted by gjt..@..il.com
Link to original bug (#751354)
Description
Created attachment 305880
Patch allowing for linebreak
to be acted upon
The mspace
element has a linebreak
property which, if set to newline
, injects a newline in a MathML element: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mspace
For example, in TeX, it can be used like so:
$$
\mathrm{first\ line} \\
\mathrm{second\ line} \\
\mathrm{third\ line}
$$
This patch introduces the rendering of linebreak
for mspace
. At this moment I really only care about newline
. Unfortunately, I got stuck when trying to figure out how to actually render the break. Any tips would as always be much appreciated. :)
Patch 305880, "Patch allowing for linebreak
to be acted upon":
0001-Implement-initial-detection-of-the-linebreak-attribu.patch
Version: git master