[LyX/master] Fix MathML output of InsetMathDelim
Thibaut Cuvelier
tcuvelier at lyx.org
Sat Dec 19 22:50:30 UTC 2020
commit 372b32c0a679c39ba968b8632c9413e5fd3f12d5
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date: Sun Dec 20 00:20:52 2020 +0100
Fix MathML output of InsetMathDelim
Patch by lynx (https://www.lyx.org/trac/ticket/12050).
---
src/mathed/InsetMathDelim.cpp | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/mathed/InsetMathDelim.cpp b/src/mathed/InsetMathDelim.cpp
index 2b27960..11a47d1 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())
- << "</" << 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";
}
More information about the lyx-cvs
mailing list