conditional: also trigger preprocessing during scan
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 26 Aug 2011 16:10:16 +0000 (18:10 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 21 Oct 2019 16:31:07 +0000 (18:31 +0200)
commit37e572e67e8f2f0ac94970caafe2796ef0e0b795
tree7593a6544736162c883f48faef64c2cc8c0a8847
parent7a2ec130f9da119437c0509b23beecde8229c061
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