diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-17 16:26:34 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-17 16:26:34 -0500 |
commit | 80d16f80bf2e6a4edbef91d0f055e812537823d5 (patch) | |
tree | a38f5cef4b3d100ab1ced1cb8cf9332bb2d42ae3 /IkiWiki.pm | |
parent | 6ccd9313d2659f4b3d55cd784cefee7af0e0b5c0 (diff) |
* Allow trailing slashes after page names in wikilinks.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index ad4d26741..eb003a1fb 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -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}) { |