]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNumber.cpp
Please Coverity (code should be equivalent)
[lyx.git] / src / mathed / InsetMathNumber.cpp
index 33a2f9d896e57145f7f10a73fb9099f4e5fc5110..6a67ce18d75d92840db8f46c808a0834f6bf627d 100644 (file)
@@ -69,10 +69,13 @@ void InsetMathNumber::octave(OctaveStream & os) const
 
 void InsetMathNumber::mathmlize(MathStream & os) const
 {
-       if (os.inText())
-               os << str_;
-       else
-               os << "<mn> " << str_ << " </mn>";
+       os << "<mn>" << str_ << "</mn>";
+}
+
+
+void InsetMathNumber::htmlize(HtmlStream & os) const
+{
+       os << str_;
 }