aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
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))));
}
} # }}}