]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNumber.cpp
Please Coverity (code should be equivalent)
[lyx.git] / src / mathed / InsetMathNumber.cpp
index c9ae470decf9dcdd690936270dfa9002517722e0..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_;
 }