From: Thibaut Cuvelier Date: Fri, 20 Jan 2023 01:19:33 +0000 (+0100) Subject: MathML: remove useless code X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5f7c26fbe52e2a55039996ad267e553dabbe9aa9;p=features.git MathML: remove useless code Contributed by lynx: https://www.lyx.org/trac/ticket/12629 --- diff --git a/src/mathed/InsetMathChar.cpp b/src/mathed/InsetMathChar.cpp index a5001fc284..483bbb8403 100644 --- a/src/mathed/InsetMathChar.cpp +++ b/src/mathed/InsetMathChar.cpp @@ -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);