]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMatrix.cpp
Revert c6ce76c2 and fix 670efa8f
[lyx.git] / src / mathed / InsetMathMatrix.cpp
index 852cd893a5244230ee5d754f9c7a89927061d296..620f20f961fdfcbec4f41c0721d116b7bd137ea9 100644 (file)
@@ -95,8 +95,9 @@ void InsetMathMatrix::mathematica(MathematicaStream & os) const
 void InsetMathMatrix::mathmlize(MathStream & os) const
 {
        os << "<mo form='prefix' fence='true' stretchy='true' symmetric='true' lspace='thinmathspace'>"
-          << left_ << "</mo>";
-       os << MTag("mtable");
+          << convertDelimToXMLEscape(left_) 
+          << "</mo>"
+          << MTag("mtable");
        for (row_type row = 0; row < nrows(); ++row) {
                os << MTag("mtr");
                for (col_type col = 0; col < ncols(); ++col) {
@@ -113,7 +114,8 @@ void InsetMathMatrix::mathmlize(MathStream & os) const
        }
        os << ETag("mtable");
        os << "<mo form='postfix' fence='true' stretchy='true' symmetric='true' lspace='thinmathspace'>"
-          << right_ << "</mo>";
+          << convertDelimToXMLEscape(right_) 
+          << "</mo>";
 }