mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +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())
|
if (!nuc().empty())
|
||||||
ms << nuc();
|
ms << nuc();
|
||||||
else
|
else
|
||||||
|
// TODO: is this empty <mrow> required?
|
||||||
ms << CTag("mrow");
|
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)
|
if (d)
|
||||||
ms << MTag("mrow") << down() << ETag("mrow");
|
ms << down();
|
||||||
if (u)
|
if (u)
|
||||||
ms << MTag("mrow") << up() << ETag("mrow");
|
ms << up();
|
||||||
|
|
||||||
ms << ETag(tag);
|
ms << ETag(tag);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user