X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathNumber.cpp;h=5237cebab65a95747b5a67c1489950ee0e133ae7;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=eb2e85bdc73de6618f4c1915b0b0a7257aefef52;hpb=8a0134cc8ce7de41d6d6911a1c4219ca958f2b71;p=lyx.git diff --git a/src/mathed/InsetMathNumber.cpp b/src/mathed/InsetMathNumber.cpp index eb2e85bdc7..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; @@ -67,10 +69,15 @@ void InsetMathNumber::octave(OctaveStream & os) const } -docstring InsetMathNumber::mathmlize(MathStream & os) const +void InsetMathNumber::mathmlize(MathStream & os) const +{ + os << "" << str_ << ""; +} + + +void InsetMathNumber::htmlize(HtmlStream & os) const { - os << " " << str_ << " "; - return docstring(); + os << str_; }