X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathNumber.cpp;h=6a67ce18d75d92840db8f46c808a0834f6bf627d;hb=704328d3488c75733ddeb9ad5439b1907e323e39;hp=45e73220fc6d03f20eb6700b4d98866cbd6dd200;hpb=f60dad8aaf61ae7b67229b62ed717e7d2fcc8141;p=lyx.git
diff --git a/src/mathed/InsetMathNumber.cpp b/src/mathed/InsetMathNumber.cpp
index 45e73220fc..6a67ce18d7 100644
--- a/src/mathed/InsetMathNumber.cpp
+++ b/src/mathed/InsetMathNumber.cpp
@@ -69,10 +69,7 @@ void InsetMathNumber::octave(OctaveStream & os) const
void InsetMathNumber::mathmlize(MathStream & os) const
{
- if (os.inText())
- os << str_;
- else
- os << "" << str_ << "";
+ os << "" << str_ << "";
}