[pmwiki-users] multi-line variables

Peter Bowers pbowers at pobox.com
Tue Feb 15 07:56:38 CST 2011

How does one use (:if equal "{$var}" "":) or the like when {$var}
might contain multi-line contents?

The (:if ...:) markup doesn't seem to accept its arguments being on
multiple lines.

I thought to {(substring ...)} the variable or {(strlen ...)} it but
then I remembered that markup expressions don't like to be split
across multiple lines either.

I'm probably missing something very obvious here, but my own next idea
is to go in and make my own markup and that seems overkill for such a
trivial issue...


More information about the pmwiki-users mailing list