From: Jean-Marc Lasgouttes Date: Tue, 23 Jul 2024 21:44:58 +0000 (+0200) Subject: Do not export the content of InsetMathBoxed as text in MathML X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1186d90edf9a6702573f296d5642c5e61ceaaedf;p=lyx.git Do not export the content of InsetMathBoxed as text in MathML \boxed{} is the only box in LaTeX that contains math. It is amusing that the example file that we had for ticket #13609 should not have been a problem since there is no reason to force there. --- diff --git a/src/mathed/InsetMathBox.cpp b/src/mathed/InsetMathBox.cpp index f06ffcf95d..62a11a15aa 100644 --- a/src/mathed/InsetMathBox.cpp +++ b/src/mathed/InsetMathBox.cpp @@ -402,7 +402,9 @@ void InsetMathBoxed::infoize(odocstream & os) const void InsetMathBoxed::mathmlize(MathMLStream & ms) const { - mathmlizeHelper(ms, cell(0), "class='boxed'"); + ms << MTag("mrow", "class='boxed'"); + ms << cell(0); + ms << ETag("mrow"); }