diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-08-26 18:22:14 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-08-26 18:22:14 +0200 |
commit | 6bc787e14c114cd93d5c35ffeb5ba57529f66eef (patch) | |
tree | 4686f9fdbdc5c15993435cb465e32fedb02b5148 /doc/bugs | |
parent | 2dda5d847952e2ec344503212ed97b68db20f89f (diff) | |
download | ikiwiki-6bc787e14c114cd93d5c35ffeb5ba57529f66eef.tar ikiwiki-6bc787e14c114cd93d5c35ffeb5ba57529f66eef.tar.gz |
Report bug (and patch) with conditional preprocessing and scan
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/conditional_preprocess_during_scan.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bugs/conditional_preprocess_during_scan.mdwn b/doc/bugs/conditional_preprocess_during_scan.mdwn new file mode 100644 index 000000000..896998bf8 --- /dev/null +++ b/doc/bugs/conditional_preprocess_during_scan.mdwn @@ -0,0 +1,10 @@ +[[!template id=gitbranch branch=GiuseppeBilotta/scanif author="Giuseppe Bilotta"]] + +When a directive that should be run during scan preprocessing is inside +an if directive, it doesn't get called because the if preprocessing does +not run during scan. + +I've written a simple [[patch]] to fix the issue, currently hosted on the +scanif branch of my repository. The patch also passes the preview option +back to the Ikiwiki::preprocess call, making sure that whatever is being +reprocessed is done so in the same conditions as the original call. |