MathML: remove useless code

Contributed by lynx: https://www.lyx.org/trac/ticket/12629
This commit is contained in:
Thibaut Cuvelier 2023-01-20 02:19:33 +01:00
parent a2897b05f1
commit 5f7c26fbe5

View File

@ -258,8 +258,6 @@ void InsetMathChar::mathmlize(MathMLStream & ms) const
char const * type =
(isAlphaASCII(char_) || Encodings::isMathAlpha(char_))
? "mi" : "mo";
// we don't use MTag and ETag because we do not want the spacing before the end tag.
docstring tag = from_ascii(ms.namespacedTag(type));
ms << MTagInline(type)
<< char_type(char_)
<< ETagInline(type);