MathML: remove extraneous <mrow> in fractions

Contributed by lynx: https://www.lyx.org/trac/ticket/12629
This commit is contained in:
Thibaut Cuvelier 2023-01-20 02:30:35 +01:00
parent 66fab70388
commit 0c227d3dfa

View File

@ -506,8 +506,8 @@ void InsetMathFrac::mathmlize(MathMLStream & ms) const
switch (kind_) { switch (kind_) {
case ATOP: case ATOP:
ms << MTag("mfrac", "linethickness='0'") ms << MTag("mfrac", "linethickness='0'")
<< MTag("mrow") << cell(0) << ETag("mrow") << cell(0)
<< MTag("mrow") << cell(1) << ETag("mrow") << cell(1)
<< ETag("mfrac"); << ETag("mfrac");
break; break;