diff options
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 1 | ||||
-rw-r--r-- | IkiWiki/Plugin/tag.pm | 1 |
2 files changed, 2 insertions, 0 deletions
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; |