mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Fix MathML delimiters again.
Patch from lynx.
This commit is contained in:
parent
469d3270ae
commit
0786b80828
@ -181,7 +181,8 @@ void InsetMathDelim::mathematica(MathematicaStream & os) const
|
|||||||
|
|
||||||
void InsetMathDelim::mathmlize(MathMLStream & ms) 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())
|
<< convertDelimToXMLEscape(left_, ms.xmlMode())
|
||||||
<< "</" << from_ascii(ms.namespacedTag("mo")) << ">"
|
<< "</" << from_ascii(ms.namespacedTag("mo")) << ">"
|
||||||
<< "\n"
|
<< "\n"
|
||||||
@ -189,8 +190,8 @@ void InsetMathDelim::mathmlize(MathMLStream & ms) const
|
|||||||
<< "\n"
|
<< "\n"
|
||||||
<< "<" << from_ascii(ms.namespacedTag("mo")) << " form='postfix' fence='true' stretchy='true' symmetric='true'>"
|
<< "<" << from_ascii(ms.namespacedTag("mo")) << " form='postfix' fence='true' stretchy='true' symmetric='true'>"
|
||||||
<< convertDelimToXMLEscape(right_, ms.xmlMode())
|
<< convertDelimToXMLEscape(right_, ms.xmlMode())
|
||||||
<< "</" << from_ascii(ms.namespacedTag("mo")) << ">"
|
<< "</" << from_ascii(ms.namespacedTag("mo")) << ">" << "\n"
|
||||||
<< "\n";
|
<< "</" << from_ascii(ms.namespacedTag("mrow")) << ">" << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user