From 92ff4af76fab30c3fdc8c96b71e799133489b9dc Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 18 Oct 2002 14:38:25 +0000 Subject: [PATCH] Backport Neal Norwitz's patch from revision 1.14: Don't screw up the names of the nodes we're looking up. This fixes two SF bugs: 217195 - Broken \ref link in documentation 484967 - bad links at Ref Guide --- Doc/tools/node2label.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tools/node2label.pl b/Doc/tools/node2label.pl index 90f0c18933a5..d9d08159acc7 100755 --- a/Doc/tools/node2label.pl +++ b/Doc/tools/node2label.pl @@ -44,7 +44,7 @@ while (<>) { shift @parts; for $node (@parts) { $node =~ s/[\#\"\'].*$//g; - chop($node); + chomp($node); if (defined($nodes{$node})) { $label = $nodes{$node}; if (s/(HREF|href)=([\"\'])$node([\#\"\'])/href=$2$label.html$3/g) { -- 2.47.3