]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/link.pm
note that this old bug affects more stuff now
[git.ikiwiki.info.git] / IkiWiki / Plugin / link.pm
index b79273f96240dcfc0a66308bb3a942f6198945f0..4c1add9853a3b4053f34b8d927e52ea0e7e4d1f4 100644 (file)
@@ -86,7 +86,7 @@ sub scan (@) {
        my $content=$params{content};
 
        while ($content =~ /(?<!\\)$link_regexp/g) {
-               push @{$links{$page}}, linkpage($2);
+               add_link($page, linkpage($2));
        }
 }