]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.cpp
MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs
[lyx.git] / src / mathed / InsetMathDecoration.cpp
index e0a5d85486f499a64251e68810bce789d8b1c25d..96323bf6d911ab514ea0ba54cbac0f013b032f01 100644 (file)
@@ -246,9 +246,9 @@ void InsetMathDecoration::mathmlize(MathMLStream & ms) const
        std::string decoration = cur->second.entity;
        ms << MTag(outag)
           << cell(0)
-          << "<" << from_ascii(ms.namespacedTag("mo")) << " stretchy=\"true\">"
+          << MTagInline("mo", "stretchy='true'")
           << from_ascii(decoration)
-          << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
+          << ETagInline("mo")
           << ETag(outag);
 }