]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/camelcase.pm
calendar: Tune archive_pagespec to only match pages, not other files.
[git.ikiwiki.info.git] / IkiWiki / Plugin / camelcase.pm
index 74a8397d7ebe33096393d4174f2975a4ce7bd03d..088447d6b4d133d0197e6bc3c1df57fd9c3292e8 100644 (file)
@@ -61,7 +61,7 @@ sub scan (@) {
         my $content=$params{content};
 
        while ($content =~ /$link_regexp/g) {
-               push @{$links{$page}}, linkpage($1) unless ignored($1)
+               add_link($page, linkpage($1)) unless ignored($1)
        }
 }