summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-07 05:53:47 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-07 05:53:47 +0000
commit4a770de3ac54c51e01ff1279f3cd869952ecc51c (patch)
tree274b45d7b45b54e4879bce2c0ebfab8bc3d6fd1d /IkiWiki
parente22c33b4d010034c9acd55053aefb50ed4b743fb (diff)
deal with new preview parameter
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/meta.pm1
-rw-r--r--IkiWiki/Plugin/tag.pm1
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;