Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Further fix redirect links in learndb-html.pl.

  • Loading branch information...
commit e030c4685bfb3725d13af6f151b9f473e23c55ac 1 parent 1811108
@neilmoore neilmoore authored greensnark committed
Showing with 1 addition and 2 deletions.
  1. +1 −2  learndb-html.pl
View
3  learndb-html.pl
@@ -20,7 +20,7 @@
sub addlink($$)
{
local $_=$_[0];
- my $dest=$_[1];
+ my $dest=canonical_link($_[1]);
#mixed _ and spaces?
${$redir{$dest}}{$_}=1;
@@ -46,7 +46,6 @@ ($$)
if ($val =~ $FULL_REDIRECT_PATTERN)
{
my $dest = $1;
- $dest =~ s/\[1\]$//;
addlink($key, $dest);
}
else
Please sign in to comment.
Something went wrong with that request. Please try again.