mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 06:49:43 +00:00
MathML: remove redundant mrow in InsetMathScript.
https://www.lyx.org/trac/attachment/ticket/12221/0006-amends-to-a579128c-a68e9793-a68e9793.patch by lynx
This commit is contained in:
parent
d1daa092f6
commit
7513d88350
@ -624,12 +624,15 @@ void InsetMathScript::mathmlize(MathMLStream & ms) const
|
||||
if (!nuc().empty())
|
||||
ms << nuc();
|
||||
else
|
||||
// TODO: is this empty <mrow> required?
|
||||
ms << CTag("mrow");
|
||||
|
||||
// No need to wrap these in an <mrow>, as it's done by MathExtern.
|
||||
// More details in https://www.lyx.org/trac/ticket/12221#comment:10.
|
||||
if (d)
|
||||
ms << MTag("mrow") << down() << ETag("mrow");
|
||||
ms << down();
|
||||
if (u)
|
||||
ms << MTag("mrow") << up() << ETag("mrow");
|
||||
ms << up();
|
||||
|
||||
ms << ETag(tag);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user