* Allow trailing slashes after page names in wikilinks.

master
Joey Hess 2007-11-17 16:26:34 -05:00
parent 6ccd9313d2
commit 80d16f80bf
3 changed files with 6 additions and 2 deletions

View 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}) {

3
debian/changelog vendored
View File

@ -17,8 +17,9 @@ ikiwiki (2.13) UNRELEASED; urgency=low
Closes: #451666
* Fix mercurial historyurl in example setup file.
* More compact output for the brokenlinks plugin.
* Allow trailing slashes after page names in wikilinks.
-- Joey Hess <joeyh@debian.org> Sat, 17 Nov 2007 15:59:54 -0500
-- Joey Hess <joeyh@debian.org> Sat, 17 Nov 2007 16:26:14 -0500
ikiwiki (2.12) unstable; urgency=low

View File

@ -4,4 +4,6 @@ A trailing slash on a [[wikilink]] breaks the link:
`\[[todo/Gallery]]` appears as [[todo/Gallery]].
--[[JoshTriplett]]
--[[JoshTriplett]]
[[done]]