Skip to content

Commit

Permalink
undo modding NewScript, leave as-is and instead focus on pruning the …
Browse files Browse the repository at this point in the history
…duals
  • Loading branch information
dginev committed Jul 13, 2020
1 parent a3ae537 commit 3a3b05f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/LaTeXML/MathParser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 3a3b05f

Please sign in to comment.