MathML: update code for InsetMathCases to newest classes.

Based on a commit from lynx <lorenzobertini97@gmail.com>

Part of bug #12590.
This commit is contained in:
Thibaut Cuvelier 2022-12-09 01:49:19 +01:00
parent 5893ea866e
commit 6c22e32cee

View File

@ -141,10 +141,9 @@ void InsetMathCases::maple(MapleStream & os) const
void InsetMathCases::mathmlize(MathMLStream & ms) const void InsetMathCases::mathmlize(MathMLStream & ms) const
{ {
ms << "<" << from_ascii(ms.namespacedTag("mo")) ms << MTagInline("mo", "form='prefix' fence='true' stretchy='true' symmetric='true'")
<< " form='prefix' fence='true' stretchy='true' symmetric='true'>"
<< "{" << "{"
<< "</" << from_ascii(ms.namespacedTag("mo")) << ">"; << ETagInline("mo");
InsetMathGrid::mathmlize(ms); InsetMathGrid::mathmlize(ms);
} }