]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.cpp
We only support gcc >= 4.9.
[lyx.git] / src / mathed / InsetMathDelim.cpp
index 95a0883cceb81a8e8edbf8e92575f44e1a39c37a..e97e12c04e217ab935d1b6951c0936d106e9b0a8 100644 (file)
@@ -181,7 +181,8 @@ void InsetMathDelim::mathematica(MathematicaStream & os) const
 
 void InsetMathDelim::mathmlize(MathMLStream & ms) const
 {
-       ms << "<" << from_ascii(ms.namespacedTag("mo")) << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
+       ms << "<" << from_ascii(ms.namespacedTag("mrow")) << ">" << "\n"
+          << "<" << from_ascii(ms.namespacedTag("mo")) << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
           << convertDelimToXMLEscape(left_, ms.xmlMode())
           << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
           << "\n"
@@ -189,8 +190,8 @@ void InsetMathDelim::mathmlize(MathMLStream & ms) const
           << "\n"
           << "<" << from_ascii(ms.namespacedTag("mo")) << " form='postfix' fence='true' stretchy='true' symmetric='true'>"
           << convertDelimToXMLEscape(right_, ms.xmlMode())
-          << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
-          << "\n";
+          << "</" << from_ascii(ms.namespacedTag("mo")) << ">" << "\n"
+          << "</" << from_ascii(ms.namespacedTag("mrow")) << ">" << "\n";
 }