]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCases.cpp
Assure correct spacing of colored items in mathed
[lyx.git] / src / mathed / InsetMathCases.cpp
index 0a5fa332b1ab241b7c8a278d0534755f1c335e65..5ddb9d015e50b7f61b008c1585bf1e72f2e1eb3f 100644 (file)
@@ -145,7 +145,10 @@ void InsetMathCases::maple(MapleStream & os) const
 
 void InsetMathCases::mathmlize(MathStream & ms) const
 {
-       ms << "<mo form='prefix' fence='true' stretchy='true' symmetric='true'>{</mo>";
+       ms << "<" << from_ascii(ms.namespacedTag("mo"))
+          << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
+          << "{"
+          << "</" << from_ascii(ms.namespacedTag("mo")) << ">";
        InsetMathGrid::mathmlize(ms);
 }