projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
999559c
)
drop the loop number to 3, 10 seems a bit much..
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 31 Aug 2006 19:47:41 +0000
(19:47 +0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 31 Aug 2006 19:47:41 +0000
(19:47 +0000)
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index ca6e9666bfb345c57c6da8e8757ea024eeee7018..2c1ea3eb7c0b73f507fb51c70499f01c10c51ccc 100644
(file)
--- a/
IkiWiki/Render.pm
+++ b/
IkiWiki/Render.pm
@@
-131,7
+131,7
@@
sub preprocess ($$$) { #{{{
push @params, $val, '';
}
}
- if ($preprocessing{$page}++ >
10
) {
+ if ($preprocessing{$page}++ >
3
) {
# Avoid loops of preprocessed pages preprocessing
# other pages that preprocess them, etc.
return "[[$command preprocessing loop detected on $page at depth $preprocessing{$page}]]";