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