]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMatrix.cpp
Assure correct spacing of colored items in mathed
[lyx.git] / src / mathed / InsetMathMatrix.cpp
index a4999039e8fb6a44798570a3e896afaff11e5f08..bd43581ce0d6718dcb340f3ff37d3648f275dd49 100644 (file)
@@ -95,7 +95,7 @@ void InsetMathMatrix::mathematica(MathematicaStream & os) const
 void InsetMathMatrix::mathmlize(MathStream & ms) const
 {
        ms << "<" << from_ascii(ms.namespacedTag("mo")) << " form='prefix' fence='true' stretchy='true' symmetric='true' lspace='thinmathspace'>"
-          << convertDelimToXMLEscape(left_
+          << convertDelimToXMLEscape(left_, ms.xmlMode())
           << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
           << MTag("mtable");
        for (row_type row = 0; row < nrows(); ++row) {
@@ -114,7 +114,7 @@ void InsetMathMatrix::mathmlize(MathStream & ms) const
        }
        ms << ETag("mtable")
           << "<" << from_ascii(ms.namespacedTag("mo")) << " form='postfix' fence='true' stretchy='true' symmetric='true' lspace='thinmathspace'>"
-          << convertDelimToXMLEscape(right_
+          << convertDelimToXMLEscape(right_, ms.xmlMode())
           << "</" << from_ascii(ms.namespacedTag("mo")) << ">";
 }