X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/22d982243716bb04f56e4e78e573e3ec49077309..7475f90be2c1941d4449791e9e9cd5f3dc3bbb71:/IkiWiki/Render.pm diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 5ce802317..9921915b4 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -174,23 +174,15 @@ sub scan ($) { } delete $typedlinks{$page}; - run_hooks(scan => sub { - shift->( - page => $page, - content => $content, - ); - }); - # Preprocess in scan-only mode. preprocess($page, $page, $content, 1); - run_hooks(rescan => sub { + run_hooks(scan => sub { shift->( page => $page, content => $content, ); }); - } else { will_render($file, $file, 1);