X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/96125d8da512d992012560a1115eb3a8115bafbe..7fc3a41cfde7328d26145ff7127782fc03c62d91:/IkiWiki/Plugin/tag.pm diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index b06eadd13..48ed1a8f8 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -4,7 +4,7 @@ package IkiWiki::Plugin::tag; use warnings; use strict; -use IkiWiki; +use IkiWiki 2.00; my %tags; @@ -40,8 +40,10 @@ sub preprocess (@) { #{{{ my $page = $params{page}; delete $params{page}; delete $params{destpage}; + delete $params{preview}; foreach my $tag (keys %params) { + $tag=IkiWiki::linkpage($tag); $tags{$page}{$tag}=1; # hidden WikiLink push @{$links{$page}}, tagpage($tag);