Permalink
Browse files

Further fix redirect links in learndb-html.pl.

  • Loading branch information...
1 parent 1811108 commit e030c4685bfb3725d13af6f151b9f473e23c55ac @neilmoore neilmoore committed with greensnark Dec 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 learndb-html.pl
View
@@ -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

0 comments on commit e030c46

Please sign in to comment.