From 3a3b05f4b08f9ad81fa0ed7dbf2192536c01c996 Mon Sep 17 00:00:00 2001 From: Deyan Ginev Date: Mon, 13 Jul 2020 14:14:59 -0400 Subject: [PATCH] undo modding NewScript, leave as-is and instead focus on pruning the duals --- lib/LaTeXML/MathParser.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/LaTeXML/MathParser.pm b/lib/LaTeXML/MathParser.pm index 8db04e6d9..bf0856f18 100644 --- a/lib/LaTeXML/MathParser.pm +++ b/lib/LaTeXML/MathParser.pm @@ -1529,8 +1529,7 @@ sub NewScript { $l++; $bumped = 1 } elsif (my $innerl = p_getAttribute($rbase, '_bumplevel')) { $l = $innerl; } - my $meaning = p_getAttribute($rscript, 'meaning'); - my $app = Apply(New(undef, undef, role => $y . 'SCRIPTOP', scriptpos => "$x$l", ($meaning ? (meaning => $meaning) : ())), + my $app = Apply(New(undef, undef, role => $y . 'SCRIPTOP', scriptpos => "$x$l"), $base, Arg($script, 0)); # Record whether this script was a floating one $$app[1]{_wasfloat} = 1 if $mode eq 'FLOAT';