On Wed, Apr 29, 2009 at 7:56 AM, Harald Joerg <[email protected]>wrote:
> Bill Moseley <[email protected]> writes: > > >>> [% > >>> '<div class="login">'; > >>> PROCESS login_form > >>> '</div>'; > >>> %] > > For TT2's parser, this is equivalent to: > > <div class="login"> > [%- PROCESS login_form '</div>' %] > > Indeed, the parser _should_ complain about the '</div>' which is not a > correct attribute for PROCESS. > I guessed that this would be equivalent to: [% PROCESS login_form '</div>' = undef %] ...which is legal, apparently, but a quick experiment showed that my hunch was wrong.
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
