From 1dddec0ba9f66f082f4b8349916cdb6bdb5636e3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Jun 2008 01:24:23 -0400 Subject: 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.) --- IkiWiki/Plugin/table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin/table.pm') diff --git a/IkiWiki/Plugin/table.pm b/IkiWiki/Plugin/table.pm index 20c71e1c7..11474c8f0 100644 --- a/IkiWiki/Plugin/table.pm +++ b/IkiWiki/Plugin/table.pm @@ -175,7 +175,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::preprocess($page, $destpage, shift)); } -- cgit v1.2.3