]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNumber.cpp
Account for old versions of Pygments
[lyx.git] / src / mathed / InsetMathNumber.cpp
index fdacf0c7bccda1df8d70a4d2e1051f6e2b260cd2..5237cebab65a95747b5a67c1489950ee0e133ae7 100644 (file)
@@ -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 << "<mn> " << str_ << " </mn>";
+       os << "<mn>" << str_ << "</mn>";
+}
+
+
+void InsetMathNumber::htmlize(HtmlStream & os) const
+{
+       os << str_;
 }