projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
827710b
)
call preprocess in scan mode hooks before scan hooks
author
Joey Hess
<joey@kitenet.net>
Mon, 30 Aug 2010 19:06:58 +0000
(15:06 -0400)
committer
Joey Hess
<joey@kitenet.net>
Mon, 30 Aug 2010 19:06:58 +0000
(15:06 -0400)
Following along with change in Render.pm
IkiWiki/Plugin/table.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/table.pm
b/IkiWiki/Plugin/table.pm
index 2edd1eacd11a329d71d81add93c431462685ef03..f3c425a37dacd9d1389f0c53a0d7fbc52469c70b 100644
(file)
--- a/
IkiWiki/Plugin/table.pm
+++ b/
IkiWiki/Plugin/table.pm
@@
-40,6
+40,9
@@
sub preprocess (@) {
# scan that file too.
return unless exists $params{file};
+ # Preprocess in scan-only mode.
+ IkiWiki::preprocess($params{page}, $params{page}, $params{data}, 1);
+
IkiWiki::run_hooks(scan => sub {
shift->(
page => $params{page},
@@
-47,9
+50,6
@@
sub preprocess (@) {
);
});
- # Preprocess in scan-only mode.
- IkiWiki::preprocess($params{page}, $params{page}, $params{data}, 1);
-
return;
}