* Call filter hooks on inlined page content.
parent
3fe48bcf83
commit
69d1592a17
|
@ -130,7 +130,11 @@ sub get_inline_content ($$) { #{{{
|
||||||
my $file=$pagesources{$page};
|
my $file=$pagesources{$page};
|
||||||
my $type=pagetype($file);
|
my $type=pagetype($file);
|
||||||
if (defined $type) {
|
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 {
|
else {
|
||||||
return "";
|
return "";
|
||||||
|
|
|
@ -26,7 +26,8 @@ sub sidebar_content ($) { #{{{
|
||||||
return unless length $content;
|
return unless length $content;
|
||||||
return IkiWiki::htmlize($sidebar_type,
|
return IkiWiki::htmlize($sidebar_type,
|
||||||
IkiWiki::preprocess($sidebar_page, $page,
|
IkiWiki::preprocess($sidebar_page, $page,
|
||||||
IkiWiki::linkify($sidebar_page, $page, $content)));
|
IkiWiki::linkify($sidebar_page, $page,
|
||||||
|
IkiWiki::filter($sidebar_page, $content))));
|
||||||
}
|
}
|
||||||
|
|
||||||
} # }}}
|
} # }}}
|
||||||
|
|
|
@ -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
|
* 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
|
class="selflink" so that it can be styled. I don't have a useful style
|
||||||
defined for that though.
|
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
|
ikiwiki (1.20) unstable; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue