MathML: amend 26300c565f as discussed in bug 12513

Contributed by lynx
This commit is contained in:
Thibaut Cuvelier 2022-09-02 02:00:12 +02:00
parent 5b405426f1
commit 0bda6950e4

View File

@ -546,13 +546,11 @@ void InsetMathFrac::mathmlize(MathMLStream & ms) const
if (nargs() == 2) {
ms << MTag("mrow");
ms << cell(0);
SetMode textmode(ms, true);
ms << MTagInline("mstyle mathvariant='normal'");
ms << cell(1);
ms << ETagInline("mstyle");
ms << ETag("mrow");
} else {
SetMode textmode(ms, true);
ms << MTag("mstyle mathvariant='normal'");
ms << cell(0);
ms << ETag("mstyle");