[Templates] using filters within $variables

Gernot Homma homma@cyberatelier.at
Thu, 16 Oct 2003 10:46:29 +0200


Hello,

i have a macro as follows
[% MACRO xxx BLOCK %]
... xyz=[% myvar %] ...
[% END %]

using this macro in another part:
[% FOREACH i = list %]
[% xxx(myvar = "abc('${i.name}', '${i.nr}')") %]
[% END %]

is there a way to pass the expressions ${i.name} through a filter, like
[% xxx(myvar = "abc('{$i.name} | html_entity ', '${i.nr}')" %]
(i know that this syntax does'nt work)

thanks in advance
greetings 

gernot