diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 01:24:23 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 01:24:23 -0400 |
commit | 1dddec0ba9f66f082f4b8349916cdb6bdb5636e3 (patch) | |
tree | 2ee6818cd5f9c896ab0de2caea677ba5a9cc18f9 /IkiWiki/Plugin/meta.pm | |
parent | 1546b48b979399eb33ce502a00b089263d7cee26 (diff) | |
download | ikiwiki-1dddec0ba9f66f082f4b8349916cdb6bdb5636e3.tar ikiwiki-1dddec0ba9f66f082f4b8349916cdb6bdb5636e3.tar.gz |
Pass a destpage parameter to the sanitize hook.
Because the search plugin needed it, also because it's one of the few
plugins that didn't already have it.
I also considered adding it to htmlize, but I really cannot imagine caring
what the destpage is when htmlizing. (I'll probably be poven wrong later.)
Diffstat (limited to 'IkiWiki/Plugin/meta.pm')
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index 0afe1c362..e2914a78a 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -53,7 +53,7 @@ sub htmlize ($$$) { #{{{ my $page = shift; my $destpage = shift; - return IkiWiki::htmlize($page, pagetype($pagesources{$page}), + return IkiWiki::htmlize($page, $destpage, pagetype($pagesources{$page}), IkiWiki::linkify($page, $destpage, IkiWiki::preprocess($page, $destpage, shift))); } |