There was a recent thread on the Template Toolkit mailing list ([Templates] Filter for HTML entitification?) that may be helpful. I believe that one of the posters posted a patch to Template::Filters which added an "html_all" filter that made use of HTML::Entities. Your approach of creating a separate subclass is probably a better idea, but if the poster's code is to your liking, maybe it could be of some use.
-jehuni
In reply to Re: Overriding Template Toolkit Internals
by jehuni
in thread Overriding Template Toolkit Internals
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |