[pmwiki-users] quirk with nested-if
pbowers at pobox.com
Mon Jun 30 06:44:41 CDT 2008
> yes. GroupHeader and GroupFooter pages are included with standard
> (:include ..:) markup, and (:include ..:) directives are rendered
> after (:if..:) directives (Markup('include', '>if', ... in
> Conditional (:if ...:) markup does work in GroupHeader and GroupFooter
> pages, BTW.
How does this work? It's exactly what I found in my testing, but it
seems strange. If (:if:) gets processed *before* (:include:) then how
come the (:if ...:) within those included pages gets rendered? It
seems that the (:if:) directive in the included text wouldn't even
exist until after the if rule had already been executed...
I'm not arguing that it happens - I verify that you are exactly
correct on my own system. I'm just confused *how* it happens...
More information about the pmwiki-users