From: Thibaut Cuvelier Date: Fri, 9 Dec 2022 00:49:19 +0000 (+0100) Subject: MathML: update code for InsetMathCases to newest classes. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6c22e32cee2eafcf6fed6cbd72478f36f5accd75;p=features.git MathML: update code for InsetMathCases to newest classes. Based on a commit from lynx Part of bug #12590. --- diff --git a/src/mathed/InsetMathCases.cpp b/src/mathed/InsetMathCases.cpp index 082e956f13..4332cbff48 100644 --- a/src/mathed/InsetMathCases.cpp +++ b/src/mathed/InsetMathCases.cpp @@ -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'") << "{" - << ""; + << ETagInline("mo"); InsetMathGrid::mathmlize(ms); }