X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/903213e63fd6c409046f66e73881aba33c3926de..864bc2d9d0507a3b3f67ab785e347e37a8eaf9fa:/IkiWiki/Plugin/camelcase.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/camelcase.pm b/IkiWiki/Plugin/camelcase.pm index 3f17df4a3..7881becd5 100644 --- a/IkiWiki/Plugin/camelcase.pm +++ b/IkiWiki/Plugin/camelcase.pm @@ -42,7 +42,7 @@ sub linkify (@) { #{{{ my $destpage=$params{destpage}; $params{content}=~s{$link_regexp}{ - htmllink($page, $destpage, IkiWiki::linkpage($1)) + htmllink($page, $destpage, linkpage($1)) }eg; return $params{content}; @@ -54,7 +54,7 @@ sub scan (@) { #{{{ my $content=$params{content}; while ($content =~ /$link_regexp/g) { - push @{$links{$page}}, IkiWiki::linkpage($1); + push @{$links{$page}}, linkpage($1); } }