[pmwiki-users] Conditional fails when encountering !! Header

Tegan Dowling tmdowling at gmail.com
Fri Oct 13 22:07:34 CDT 2006


On 10/13/06, Brent Zupp <atticus4 at gmail.com> wrote:
> I'm trying to keep some text private using (:if auth admin:)
> conditional. I just noticed that when I have a header markup (!!)
> between the conditional, it fails. If I remove the header markup (!!),
> it works.
>
> <<Start Example of failing markup:>>
>
> Public text Public text Public text Public text Public text Public
> text Public text Public text Public text
>
> (:if auth admin:)
>
> !!Header
>
> Private text Private text Private text Private text Private text
> Private text Private text Private text Private text Private text
>
> (:ifend:)
>
>
> <<End Example of failing markup:>>
>
> The above markup should hide the "private text" for anyone except
> "admin", but it doesn't work. All private and public text is viewable
> to public.
>
> I believe this is a bug, so I entered this in PITS:
> http://pmwiki.org/wiki/PITS/00814
>
> Any thoughts?
>
> Best,
>
> Brent

What version of PmWiki?




More information about the pmwiki-users mailing list