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 <mtext> there.
This commit is contained in:
Jean-Marc Lasgouttes 2024-07-23 23:44:58 +02:00
parent 1385f0fddd
commit 1186d90edf

View File

@ -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");
}