* Fix another destpage issue in the inline directive. Closes: #385512

again.
master
joey 2006-09-03 19:54:44 +00:00
parent 92065444d9
commit f0393523c8
2 changed files with 4 additions and 2 deletions

View File

@ -99,7 +99,7 @@ sub preprocess_inline (@) { #{{{
# Don't use htmllink because this way the title is separate
# and can be overridden by other plugins.
my $link=htmlpage(bestlink($params{page}, $page));
$link=abs2rel($link, dirname($params{page}));
$link=abs2rel($link, dirname($params{destpage}));
$template->param(pageurl => $link);
$template->param(title => pagetitle(basename($page)));
$template->param(content => $content);

4
debian/changelog vendored
View File

@ -2,8 +2,10 @@ ikiwiki (1.24) UNRELEASED; urgency=low
* Simplify the data structure returned by rcs_recentchanges to avoid
each rcs plugin needing to form complex strings on its own.
* Fix another destpage issue in the inline directive. Closes: #385512
again.
-- Joey Hess <joeyh@debian.org> Sun, 3 Sep 2006 13:32:34 -0400
-- Joey Hess <joeyh@debian.org> Sun, 3 Sep 2006 15:45:58 -0400
ikiwiki (1.23) unstable; urgency=low