mirror of https://github.com/python/cpython
This seems to fix a problem with targeting from the indexes.
This commit is contained in:
parent
2116d983bf
commit
bb79438d26
|
@ -41,7 +41,7 @@ while (<>) {
|
|||
if (defined($nodes{$node})) {
|
||||
$label = $nodes{$node};
|
||||
if (s/(HREF|href)=\"$node([\#\"])/$1=\"$label.html$2/g) {
|
||||
s/(HREF|href)=\"$label.html#(l2h-)?SECTION\d+/$1=\"$label.html/g;
|
||||
s/(HREF|href)=\"$label.html#l2h-\d+/$1=\"$label.html/g;
|
||||
$newnames{$node} = "$label.html";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue