commit 277ac312783af53ea0502607cd1504510ee968eb
Author: Richard Heck <[email protected]>
Date:   Wed Jun 29 22:52:27 2016 -0400

    Use convertDelimToXMLEscape with matrix delimiters, too.
---
 src/mathed/InsetMathMatrix.cpp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/mathed/InsetMathMatrix.cpp b/src/mathed/InsetMathMatrix.cpp
index 852cd89..620f20f 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 << "<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>";
 }
 
 

Reply via email to