From: Richard Heck Date: Thu, 30 Jun 2016 02:52:27 +0000 (-0400) Subject: Use convertDelimToXMLEscape with matrix delimiters, too. X-Git-Tag: 2.3.0alpha1~1377 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=277ac312783af53ea0502607cd1504510ee968eb;p=features.git Use convertDelimToXMLEscape with matrix delimiters, too. --- diff --git a/src/mathed/InsetMathMatrix.cpp b/src/mathed/InsetMathMatrix.cpp index 852cd893a5..620f20f961 100644 --- a/src/mathed/InsetMathMatrix.cpp +++ b/src/mathed/InsetMathMatrix.cpp @@ -95,8 +95,9 @@ void InsetMathMatrix::mathematica(MathematicaStream & os) const void InsetMathMatrix::mathmlize(MathStream & os) const { os << "" - << left_ << ""; - os << MTag("mtable"); + << convertDelimToXMLEscape(left_) + << "" + << 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 << "" - << right_ << ""; + << convertDelimToXMLEscape(right_) + << ""; }