On Tue, Mar 1, 2011 at 1:56 PM, Sean McAfee <[email protected]> wrote:
> On Tue, Mar 1, 2011 at 1:53 PM, Sean McAfee <[email protected]> wrote: > >> For a pure-TT solution, you could use a temporary variable: >> >> [% temp = BLOCK; FILTER lc; "XXX"; END; END; IF temp == "xxx"; ... %] >> >> > Of course I meant to write "FILTER lower" here. > ...And as it turns out the surrounding BLOCK/END is not necessary. Didn't know that until I tried it just now.
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
