]> git.lyx.org Git - features.git/commitdiff
MathML: update code for InsetMathCases to newest classes.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 9 Dec 2022 00:49:19 +0000 (01:49 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 9 Dec 2022 00:49:19 +0000 (01:49 +0100)
Based on a commit from lynx <lorenzobertini97@gmail.com>

Part of bug #12590.

src/mathed/InsetMathCases.cpp

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