]> git.lyx.org Git - lyx.git/commitdiff
MathML: amend 26300c565f as discussed in bug 12513
authorThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 2 Sep 2022 00:00:12 +0000 (02:00 +0200)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 2 Sep 2022 00:00:12 +0000 (02:00 +0200)
Contributed by lynx

src/mathed/InsetMathFrac.cpp

index 3ad0dfe188d86d4341600f638bc53450133119d9..2431f68bb5416fa64558b74a82dee1ba7c94fe62 100644 (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");