From: joey Date: Mon, 24 Sep 2007 16:41:29 +0000 (+0000) Subject: patch from madduck to fix thinko X-Git-Tag: 2.9~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f705d78c99ac43f22d5f07b511dd46fa80ebe8e;p=ikiwiki.git patch from madduck to fix thinko --- 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)); }