* 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 $page=shift; # the page that will contain the link (different for inline)
|
||||||
my $link=shift;
|
my $link=shift;
|
||||||
my %opts=@_;
|
my %opts=@_;
|
||||||
|
$link=~s/\/$//;
|
||||||
|
|
||||||
my $bestlink;
|
my $bestlink;
|
||||||
if (! $opts{forcesubpage}) {
|
if (! $opts{forcesubpage}) {
|
||||||
|
|
|
@ -17,8 +17,9 @@ ikiwiki (2.13) UNRELEASED; urgency=low
|
||||||
Closes: #451666
|
Closes: #451666
|
||||||
* Fix mercurial historyurl in example setup file.
|
* Fix mercurial historyurl in example setup file.
|
||||||
* More compact output for the brokenlinks plugin.
|
* 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
|
ikiwiki (2.12) unstable; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,6 @@ A trailing slash on a [[wikilink]] breaks the link:
|
||||||
|
|
||||||
`\[[todo/Gallery]]` appears as [[todo/Gallery]].
|
`\[[todo/Gallery]]` appears as [[todo/Gallery]].
|
||||||
|
|
||||||
--[[JoshTriplett]]
|
--[[JoshTriplett]]
|
||||||
|
|
||||||
|
[[done]]
|
||||||
|
|
Loading…
Reference in New Issue