Commit dbf87785 authored by Fred Drake's avatar Fred Drake

Revert previous change; there's a better way to do it.

parent 38fa8d20
...@@ -41,7 +41,7 @@ while (<>) { ...@@ -41,7 +41,7 @@ while (<>) {
if (defined($nodes{$node})) { if (defined($nodes{$node})) {
$label = $nodes{$node}; $label = $nodes{$node};
if (s/(HREF|href)=\"$node([\#\"])/$1=\"$label.html$2/g) { if (s/(HREF|href)=\"$node([\#\"])/$1=\"$label.html$2/g) {
s/(HREF|href)=\"$label.html#l2h-\d+/$1=\"$label.html/g; s/(HREF|href)=\"$label.html#(l2h-)?SECTION\d+/$1=\"$label.html/g;
$newnames{$node} = "$label.html"; $newnames{$node} = "$label.html";
} }
} }
......
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