]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrac.cpp
MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs
[lyx.git] / src / mathed / InsetMathFrac.cpp
index 4ce758e8a469c45600415c99f7ea3bbf9df53aa8..f6f2f95b0a7822249a12693d36b70a12ee997de4 100644 (file)
@@ -768,15 +768,15 @@ void InsetMathBinom::mathmlize(MathMLStream & ms) const
                rdelim = ']';
                break;
        }
-       ms << "<" << from_ascii(ms.namespacedTag("mo")) << " fence='true' stretchy='true' form='prefix'>"
+       ms << MTagInline("mo", "fence='true' stretchy='true' form='prefix'")
           << ldelim
-          << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
-          << "<" << from_ascii(ms.namespacedTag("mfrac")) << " linethickness='0'>"
+          << ETagInline("mo")
+          << MTagInline("mfrac", "linethickness='0'")
           << cell(0) << cell(1)
-       << "</" << from_ascii(ms.namespacedTag("mfrac")) << ">"
-          << "<" << from_ascii(ms.namespacedTag("mo")) << " fence='true' stretchy='true' form='postfix'>"
+       << ETagInline("mfrac")
+          << MTagInline("mo", "fence='true' stretchy='true' form='postfix'")
           << rdelim
-          << "</" << from_ascii(ms.namespacedTag("mo")) << ">";
+          << ETagInline("mo");
 }