conditional: also trigger preprocessing during scan scanif
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 26 Aug 2011 16:10:16 +0000 (18:10 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 26 Aug 2011 16:14:07 +0000 (18:14 +0200)
commit0adb87c7e7f377c9931b6695a56cab3e67be7010
tree866215f898f2b37375a6ed9a35e55af18f06a670
parent2dda5d847952e2ec344503212ed97b68db20f89f
conditional: also trigger preprocessing during scan

This is necessary to correctly support directives that have a preprocess
hook with scan=>1 and which are nested inside an if directive.

While we're at it, we also properly propagate the preview state.
IkiWiki/Plugin/conditional.pm