]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNumber.cpp
add busy.gif to resources (in line with cmake)
[lyx.git] / src / mathed / InsetMathNumber.cpp
index fdacf0c7bccda1df8d70a4d2e1051f6e2b260cd2..45e73220fc6d03f20eb6700b4d98866cbd6dd200 100644 (file)
@@ -69,7 +69,16 @@ void InsetMathNumber::octave(OctaveStream & os) const
 
 void InsetMathNumber::mathmlize(MathStream & os) const
 {
-       os << "<mn> " << str_ << " </mn>";
+       if (os.inText())
+               os << str_;
+       else
+               os << "<mn>" << str_ << "</mn>";
+}
+
+
+void InsetMathNumber::htmlize(HtmlStream & os) const
+{
+       os << str_;
 }