Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be6dd30

Browse files
committed
Remove crufty whitespace in a block of index entries.
Minor, but generates slightly smaller HTML & makes it easier to see what's happening when debugging the HTML.
1 parent 90294d0 commit be6dd30

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Doc/perl/python.perl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ sub do_cmd_withsubitem{
441441
my $stuff = next_argument();
442442
my $br_id = ++$globals{'max_id'};
443443
my $marker = "$O$br_id$C";
444+
$stuff =~ s/^\s+//;
444445
return
445446
$stuff
446447
. "\\setindexsubitem$marker$oldsubitem$marker"

0 commit comments

Comments
 (0)