From 4a770de3ac54c51e01ff1279f3cd869952ecc51c Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 7 Mar 2007 05:53:47 +0000 Subject: deal with new preview parameter --- IkiWiki/Plugin/meta.pm | 1 + IkiWiki/Plugin/tag.pm | 1 + 2 files changed, 2 insertions(+) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index 5867329af..d624757ba 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -37,6 +37,7 @@ sub preprocess (@) { #{{{ my $page=$params{page}; delete $params{page}; delete $params{destpage}; + delete $params{preview}; eval q{use HTML::Entities}; # Always dencode, even if encoding later, since it might not be diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index b06eadd13..7ab271622 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -40,6 +40,7 @@ sub preprocess (@) { #{{{ my $page = $params{page}; delete $params{page}; delete $params{destpage}; + delete $params{preview}; foreach my $tag (keys %params) { $tags{$page}{$tag}=1; -- cgit v1.2.3