X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmathed%2FInsetMathNumber.cpp;h=5237cebab65a95747b5a67c1489950ee0e133ae7;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=fdacf0c7bccda1df8d70a4d2e1051f6e2b260cd2;hpb=c060a85d811674888c31db9ee0407d8b5cc37b6e;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_; }