aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-18 00:44:46 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-18 00:44:46 +0000
commit69d1592a177acb8fbfaabeeb4e26431966d9165e (patch)
tree2844a85657eec959791f0c63265669f25f5c769b /IkiWiki
parent3fe48bcf83c48426acd1daa9764838e0bcba9adc (diff)
downloadikiwiki-69d1592a177acb8fbfaabeeb4e26431966d9165e.tar
ikiwiki-69d1592a177acb8fbfaabeeb4e26431966d9165e.tar.gz
* Call filter hooks on inlined page content.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/inline.pm6
-rw-r--r--IkiWiki/Plugin/sidebar.pm3
2 files changed, 7 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 935df9a77..5c2aeb6c7 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -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 "";
diff --git a/IkiWiki/Plugin/sidebar.pm b/IkiWiki/Plugin/sidebar.pm
index a6efc6b8e..1685d37a4 100644
--- a/IkiWiki/Plugin/sidebar.pm
+++ b/IkiWiki/Plugin/sidebar.pm
@@ -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))));
}
} # }}}