diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-09-24 16:41:29 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-09-24 16:41:29 +0000 |
commit | 2f705d78c99ac43f22d5f07b511dd46fa80ebe8e (patch) | |
tree | 867bda92a70ad0efc5a8e03f312a1ba30993eb08 | |
parent | 825f4165b28acddb1047532941ec7731c754f70a (diff) |
patch from madduck to fix thinko
-rw-r--r-- | IkiWiki/Plugin/tag.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index 276d67e03..f0e3c223c 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -62,6 +62,7 @@ sub preprocess_taglink (@) { #{{{ if (/(.*)\|(.*)/) { my $tag=IkiWiki::linkpage($2); $tags{$params{page}}{$tag}=1; + push @{$links{$params{page}}}, tagpage($tag); return htmllink($params{page}, $params{destpage}, tagpage($tag), linktext => IkiWiki::pagetitle($1)); @@ -69,6 +70,7 @@ sub preprocess_taglink (@) { #{{{ else { my $tag=IkiWiki::linkpage($_); $tags{$params{page}}{$tag}=1; + push @{$links{$params{page}}}, tagpage($tag); return htmllink($params{page}, $params{destpage}, tagpage($tag)); } |