summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-17 16:26:34 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-17 16:26:34 -0500
commit80d16f80bf2e6a4edbef91d0f055e812537823d5 (patch)
treea38f5cef4b3d100ab1ced1cb8cf9332bb2d42ae3 /IkiWiki.pm
parent6ccd9313d2659f4b3d55cd784cefee7af0e0b5c0 (diff)
* Allow trailing slashes after page names in wikilinks.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm1
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}) {