Harald Joerg wrote: > Call it a dirty solution if you want - but my method to fix this is to > simply put a plain > > [% CLEAR %] > > at the end of every template file which is not designed to output > anything. This enables me to write extensive comments between the block > declarations, without even having to use TT comment syntax.
Ooh, thanks for that :) I hadn't noticed the CLEAR directive before. I see it clears output for the current enclosing block. Is there a list somewhere that defines what creates a block? (e.g. BLOCK, TRY, CATCH etc) Cheers, Dave _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
