Re: option to turn ESCAPE=HTML on by default

Roger Burton West <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
On Mon, Oct 17, 2005 at 10:08:13AM +1000, Mike wrote:

>my $template = HTML::Template->new(filename=>'filename.tmpl', 
>html_escape=>1);

Orthogonality, please:

escape => 'html'

just as we have ESCAPE=HTML in the templates.

Remember that there also exists ESCAPE=URL, and I'm sure various people
have mentioned add-on ESCAPE filters.

Roger


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.