]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
broken link :-)
[ikiwiki.git] / IkiWiki.pm
index ad4d26741af22a5a0f087917ebc8334e819f7398..eb003a1fb9992e940dec64d2a315cca4260307c2 100644 (file)
@@ -541,6 +541,7 @@ sub htmllink ($$$;@) { #{{{
        my $page=shift; # the page that will contain the link (different for inline)
        my $link=shift;
        my %opts=@_;
+       $link=~s/\/$//;
 
        my $bestlink;
        if (! $opts{forcesubpage}) {