]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.cpp
Substack support for XHTML.
[lyx.git] / src / mathed / InsetMathDelim.cpp
index 4c873f15e8ea1f1fd9b923ee13d9e84a975efea3..0d2fd9760748d4c551285c4520af9b804b1affcf 100644 (file)
@@ -163,8 +163,14 @@ void InsetMathDelim::mathematica(MathematicaStream & os) const
 
 void InsetMathDelim::mathmlize(MathStream & os) const
 {
-       os << "<fenced open=\"" << left_ << "\" close=\""
-               << right_ << "\">" << cell(0) << "</fenced>";
+       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_;
 }