X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathNumber.cpp;h=5237cebab65a95747b5a67c1489950ee0e133ae7;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=fdacf0c7bccda1df8d70a4d2e1051f6e2b260cd2;hpb=27f8da648d18d216de481620c6ff2f4222578f25;p=lyx.git diff --git a/src/mathed/InsetMathNumber.cpp b/src/mathed/InsetMathNumber.cpp index fdacf0c7bc..5237cebab6 100644 --- a/src/mathed/InsetMathNumber.cpp +++ b/src/mathed/InsetMathNumber.cpp @@ -15,6 +15,8 @@ #include "MathStream.h" #include "MathSupport.h" +#include "MetricsInfo.h" + using namespace std; @@ -69,7 +71,13 @@ void InsetMathNumber::octave(OctaveStream & os) const void InsetMathNumber::mathmlize(MathStream & os) const { - os << " " << str_ << " "; + os << "" << str_ << ""; +} + + +void InsetMathNumber::htmlize(HtmlStream & os) const +{ + os << str_; }