* Call filter hooks on inlined page content.

master
joey 2006-08-18 00:44:46 +00:00
parent 3fe48bcf83
commit 69d1592a17
3 changed files with 9 additions and 3 deletions

View File

@ -130,7 +130,11 @@ sub get_inline_content ($$) { #{{{
my $file=$pagesources{$page};
my $type=pagetype($file);
if (defined $type) {
return htmlize($type, preprocess($page, $destpage, linkify($page, $destpage, readfile(srcfile($file)))));
return htmlize($type,
preprocess($page, $destpage,
linkify($page, $destpage,
filter($page,
readfile(srcfile($file))))));
}
else {
return "";

View File

@ -26,7 +26,8 @@ sub sidebar_content ($) { #{{{
return unless length $content;
return IkiWiki::htmlize($sidebar_type,
IkiWiki::preprocess($sidebar_page, $page,
IkiWiki::linkify($sidebar_page, $page, $content)));
IkiWiki::linkify($sidebar_page, $page,
IkiWiki::filter($sidebar_page, $content))));
}
} # }}}

3
debian/changelog vendored
View File

@ -4,8 +4,9 @@ ikiwiki (1.21) UNRELEASED; urgency=low
* If a page links to itself, mark up the link text in a span with
class="selflink" so that it can be styled. I don't have a useful style
defined for that though.
* Call filter hooks on inlined page content.
-- Joey Hess <joeyh@debian.org> Thu, 17 Aug 2006 20:18:23 -0400
-- Joey Hess <joeyh@debian.org> Thu, 17 Aug 2006 20:39:20 -0400
ikiwiki (1.20) unstable; urgency=low