From: Thibaut Cuvelier Date: Sat, 19 Dec 2020 23:20:52 +0000 (+0100) Subject: Fix MathML output of InsetMathDelim X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=372b32c0a679c39ba968b8632c9413e5fd3f12d5;p=features.git Fix MathML output of InsetMathDelim Patch by lynx (https://www.lyx.org/trac/ticket/12050). --- diff --git a/src/mathed/InsetMathDelim.cpp b/src/mathed/InsetMathDelim.cpp index 2b27960324..11a47d139f 100644 --- a/src/mathed/InsetMathDelim.cpp +++ b/src/mathed/InsetMathDelim.cpp @@ -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()) - << "" << "" << "\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()) - << "" << "" << "\n"; }