[pmwiki-devel] Nested IF conditions

Petko Yotov 5ko at 5ko.fr
Sat Jun 20 00:20:12 CDT 2009


On 6/20/2009, "DaveG" <pmwiki at solidgone.com> wrote:
>    (:if equal 1 2:)111(:if equal 2
>3:)222(:else:)333(:endif:)(:else:)555(:endif:)
>
>produces: 333(:endif:)
>expected: 555

Please note that there is no such (:endif:) markup, that's why it is
displayed in the page. There are both (:ifend:) and (:if:).

(:if:) without any condition equals (:ifend:) and I use it a lot
(shorter).

Thanks,
Petko




More information about the pmwiki-devel mailing list