diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-29 18:07:20 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-29 18:07:20 -0500 |
commit | 9e15bd27eaae39c2bbfa4aa4c00e1a7b043c70b9 (patch) | |
tree | 6c4ae6051e508e7e84f59005f92ffa78f545c677 /IkiWiki | |
parent | 7125c7269afca4a76dc24d5475d20986e8b99722 (diff) | |
download | ikiwiki-9e15bd27eaae39c2bbfa4aa4c00e1a7b043c70b9.tar ikiwiki-9e15bd27eaae39c2bbfa4aa4c00e1a7b043c70b9.tar.gz |
avoid temp var
Diffstat (limited to 'IkiWiki')
-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; |