|
hehe - then you haven't tried my version of H::T ... I modified H::T so that it dynamically loads the appropriate escape module -> you simply do this: package HTML::Template::ESCAPE::HTML_JS; use HTML::Template::ESCAPE; $HTML::Template::ESCAPE::HTML_JS::VERSION = '1.0'; sub output { my $self = shift; $_ = shift if (@_ > 0); ...blah... $_; } then save the file somewhere in your PERL5LIB directory list. Mathew Alex Kapranoff wrote: You are right, that would suffice. But as far as I understand, making escape modules is not trivial. Escaping is not abstracted enough inside HTML::Template.* Mathew Robertson <[EMAIL PROTECTED]> [October 20 2005, 08:22]: |
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Alex Kapranoff
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Mike
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Alex Kapranoff
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Philip Tellis
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Mike
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Carl Franks
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Philip Tellis
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Alex Kapranoff
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Mathew Robertson
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Alex Kapranoff
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Mathew Robertson
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Carl Franks
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Sam Tregar
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Alex Kapranoff
- Re: [htmltmpl] option to turn ESCAPE=HTML on by default Sam Tregar
