Kaydet (Commit) d7bc0fec authored tarafından Neal Norwitz's avatar Neal Norwitz

Try to fix the broken links caused by multiple \ref on the same line.

SF bug #217195.
Not sure if chomp() is correct, but chop() definitely has problems.
This change seems to have no ill effects.

Backport candidate if Fred agrees.
üst d8407a70
......@@ -49,7 +49,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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment