The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi,
I am using the template toolkit to produce html and xml. When e.g. producing html I use filters to properly escape template-variables like this: Now on my templates basically all variables would need to go through such a filter and I find it tedious to add the FILTER-directive to all variables, so I wonder if there is a way to configure TT in such a way that it applies a default-filter to all variables that do not explicitly set one.
Many thanks! In reply to Default filter in TT by morgon
|
|