This surprised me a bit.  I had a page with a validation error so I
looked at the template which had:

[%
    '<div class="login">';
    PROCESS login_form
    '</div>';
%]

Obviously, I'm missing a semicolon on the PROCESS, but I'm a bit
surprised that didn't get caught by the parser.

$ tpage
[% BLOCK foo; "in foo\n"; END;  PROCESS foo; "after" %]
in foo
after


$ tpage
[% BLOCK foo; "in foo\n"; END;  PROCESS foo "after" %]
in foo




-- 
Bill Moseley
[email protected]
Sent from my iMutt


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to