]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
avoid stripping space after indexing macros
authorFred Drake <fdrake@acm.org>
Thu, 8 Apr 2004 15:46:56 +0000 (15:46 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 8 Apr 2004 15:46:56 +0000 (15:46 +0000)
Doc/perl/python.perl

index 3930bd58698f414a466d02af103a1faaea539aac..c752040b9b1f5e64528b18545cec179fdab6f927 100644 (file)
@@ -574,9 +574,10 @@ sub process_index_macros($$){
            &$cmd($ahref);
        }
     }
-    if (/^[ \t\r\n]/) {
-        $_ = substr($_, 1);
-    }
+# XXX I don't remember why I added this to begin with.
+#     if (/^[ \t\r\n]/) {
+#         $_ = substr($_, 1);
+#     }
     return "$aname$anchor_invisible_mark</a>" . $_;
 }