]> granicus.if.org Git - python/commitdiff
Remove crufty whitespace in a block of index entries.
authorFred Drake <fdrake@acm.org>
Tue, 11 Dec 2001 20:49:23 +0000 (20:49 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 11 Dec 2001 20:49:23 +0000 (20:49 +0000)
Minor, but generates slightly smaller HTML & makes it easier to see what's
happening when debugging the HTML.

Doc/perl/python.perl

index 88f2aa539d16ee64508f1a3a3b9811f8e5a80ab6..9bd22fd9fc99a869251996a0fe93a1de74961f9e 100644 (file)
@@ -441,6 +441,7 @@ sub do_cmd_withsubitem{
     my $stuff = next_argument();
     my $br_id = ++$globals{'max_id'};
     my $marker = "$O$br_id$C";
+    $stuff =~ s/^\s+//;
     return
       $stuff
       . "\\setindexsubitem$marker$oldsubitem$marker"