projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46a997d
)
Run the preprocess hooks in scan mode *before* the scan hooks.
author
intrigeri
<intrigeri@boum.org>
Mon, 2 Aug 2010 11:39:06 +0000
(13:39 +0200)
committer
intrigeri
<intrigeri@boum.org>
Mon, 2 Aug 2010 11:39:06 +0000
(13:39 +0200)
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index a653ab2da02e542828349c3d9f3ac200340608f4..9921915b49ddd96a4ce2970653d205d99a568b1a 100644
(file)
--- a/
IkiWiki/Render.pm
+++ b/
IkiWiki/Render.pm
@@
-174,15
+174,15
@@
sub scan ($) {
}
delete $typedlinks{$page};
+ # Preprocess in scan-only mode.
+ preprocess($page, $page, $content, 1);
+
run_hooks(scan => sub {
shift->(
page => $page,
content => $content,
);
});
-
- # Preprocess in scan-only mode.
- preprocess($page, $page, $content, 1);
}
else {
will_render($file, $file, 1);