On Wed, May 12, 2010 at 10:42 AM, Randal L. Schwartz <[email protected]> wrote: >>>>>> "E" == E R <[email protected]> writes: > > E> I think you misunderstand my proposal. The caller specifies what kind > E> of data is being passed. > > Then why doesn't the caller just pass the data as always escaped then? > If the input of a block is always expecting to use the data as-is, it's > just up to me to escape it when I need to.
If you write your templates where you consistently use "| html" whenever you are creating HTML then this capability would be useful. If your templates require the caller of the template to know what data will be html-escaped and what data won't be, then this feature is not so useful. _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
