]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.cpp
Substack support for XHTML.
[lyx.git] / src / mathed / InsetMathDelim.cpp
index 6da49562eb6347e47cc5a88849bd3ffc273f06c5..0d2fd9760748d4c551285c4520af9b804b1affcf 100644 (file)
@@ -14,7 +14,6 @@
 #include "InsetMathDelim.h"
 
 #include "MathData.h"
-#include "MathExtern.h"
 #include "MathStream.h"
 #include "MathSupport.h"
 #include "MetricsInfo.h"
@@ -162,12 +161,16 @@ void InsetMathDelim::mathematica(MathematicaStream & os) const
 }
 
 
-docstring InsetMathDelim::mathmlize(MathStream & os) const
+void InsetMathDelim::mathmlize(MathStream & os) const
 {
-       os << "<mo form='prefix' fence='true' stretchy='true' symmetric='true'>" << left_ << "</mo>";
-       docstring const rv = lyx::mathmlize(cell(0),os);
-       os << "<mo form='postfix' fence='true' stretchy='true' symmetric='true'>" << right_ << "</mo>";
-       return rv;
+       os << "<mo form='prefix' fence='true' stretchy='true' symmetric='true'>" << left_ << "</mo>"
+               << cell(0) << "<mo form='postfix' fence='true' stretchy='true' symmetric='true'>" << right_ << "</mo>";
+}
+
+
+void InsetMathDelim::htmlize(HtmlStream & os) const
+{
+       os << left_ << cell(0) << right_;
 }