Fix MathML delimiters again.

Patch from lynx.
This commit is contained in:
Richard Kimberly Heck 2021-01-03 19:29:04 -05:00
parent 469d3270ae
commit 0786b80828

View 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";
}