]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNumber.cpp
Assure correct spacing of colored items in mathed
[lyx.git] / src / mathed / InsetMathNumber.cpp
index 5237cebab65a95747b5a67c1489950ee0e133ae7..5a35415786988fc0bbfcc06f9c4387784124775f 100644 (file)
@@ -69,9 +69,11 @@ void InsetMathNumber::octave(OctaveStream & os) const
 }
 
 
-void InsetMathNumber::mathmlize(MathStream & os) const
+void InsetMathNumber::mathmlize(MathStream & ms) const
 {
-       os << "<mn>" << str_ << "</mn>";
+       ms << "<" << from_ascii(ms.namespacedTag("mn")) << ">"
+          << str_
+          << "</" << from_ascii(ms.namespacedTag("mn")) << ">";
 }