* Allow trailing slashes after page names in wikilinks.
parent
6ccd9313d2
commit
80d16f80bf
|
@ -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}) {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -5,3 +5,5 @@ A trailing slash on a [[wikilink]] breaks the link:
|
|||
`\[[todo/Gallery]]` appears as [[todo/Gallery]].
|
||||
|
||||
--[[JoshTriplett]]
|
||||
|
||||
[[done]]
|
||||
|
|
Loading…
Reference in New Issue