From 5f7c26fbe52e2a55039996ad267e553dabbe9aa9 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Fri, 20 Jan 2023 02:19:33 +0100 Subject: [PATCH] MathML: remove useless code Contributed by lynx: https://www.lyx.org/trac/ticket/12629 --- src/mathed/InsetMathChar.cpp | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.39.5