diff options
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r-- | IkiWiki/Render.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index a42cdc422..be5af84ba 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -378,8 +378,7 @@ sub refresh () { #{{{ if (isinternal($page)) { push @internal, $file; # Preprocess internal page in scan-only mode. - my $content=readfile(srcfile($file)); - preprocess($page, $page, $content, 1); + preprocess($page, $page, readfile(srcfile($file)), 1); } else { push @needsbuild, $file; |