[Petal] using $ in petal

Fergal Daly fergal at esatclear.ie
Wed Mar 29 09:55:05 BST 2006


Petal is not strict TAL, it also includes some "features" like
$variable being the same as <span petal:replace="variable" />. So I
guess $aa is being replaced it's value (ie blank), my guess is that
something in the parser is wrong so it doesn't correctly recognise
single letter variables with $,

F

On 3/29/06, Jonathan Vanasco <jon at 2xlp.com> wrote:
> i can't figure this out
>
> if $a is in a document, petal shows me '$a' -- good.
>
> if $aa is in a Petal template, its stripped out.  any $ followed by 2
> or more chars is stripped out.
>
> does anyone know why?  bug , feature , workaround ?  i was trying to
> use petal to generate some downloadable customized php snippets, and
> i've tried just about every escape sequence with no luck.
>
>
>


More information about the Petal mailing list