]> git.lyx.org Git - features.git/commitdiff
Fix MathML output of InsetMathDelim
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 19 Dec 2020 23:20:52 +0000 (00:20 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 19 Dec 2020 23:21:10 +0000 (00:21 +0100)
Patch by lynx (https://www.lyx.org/trac/ticket/12050).

src/mathed/InsetMathDelim.cpp

index 2b279603241d85d465101ac1b5113cda99e6862f..11a47d139f4c30b153db5f6616c59a86f5140bc4 100644 (file)
@@ -182,17 +182,13 @@ void InsetMathDelim::mathematica(MathematicaStream & os) const
 void InsetMathDelim::mathmlize(MathStream & ms) const
 {
        ms << "<" << from_ascii(ms.namespacedTag("mo")) << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
-          << "<" << from_ascii(ms.namespacedTag("mrow")) << ">"
           << convertDelimToXMLEscape(left_, ms.xmlMode())
-          << "</" << from_ascii(ms.namespacedTag("mrow")) << ">"
           << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
           << "\n"
           << cell(0)
           << "\n"
           << "<" << from_ascii(ms.namespacedTag("mo")) << " form='postfix' fence='true' stretchy='true' symmetric='true'>"
-          << "<" << from_ascii(ms.namespacedTag("mrow")) << ">"
           << convertDelimToXMLEscape(right_, ms.xmlMode())
-          << "</" << from_ascii(ms.namespacedTag("mrow")) << ">"
           << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
           << "\n";
 }