From 6c22e32cee2eafcf6fed6cbd72478f36f5accd75 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Fri, 9 Dec 2022 01:49:19 +0100 Subject: [PATCH] MathML: update code for InsetMathCases to newest classes. Based on a commit from lynx Part of bug #12590. --- src/mathed/InsetMathCases.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); }