[pmwiki-devel] Nested IF conditions

DaveG pmwiki at solidgone.com
Sat Jun 20 10:56:19 CDT 2009



Petko Yotov wrote:
> 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).
Yep -- that was a typo on my part.



More information about the pmwiki-devel mailing list