Thanks for the reply, however I use TT to generate all sorts of stuff (not only html) and would like to know if there is a general solution.
For me wanting to apply some filter (or even a whole chain of them) to all variables in a template is such a natual requirement that I am surprised that I cannot find anything in the documentation but I would be surprised if it would not exist... | [reply] |
Then I would look at the source of Template::HTML to see how it is implemented. It doesn't look very complicated at a first glance. seems it is necessary to subclass 4 Template::* classes though.
| [reply] |