Mike, default_escape can be set to 'URL' or even 'JS' (there's Javascript escaping in recent HTML::Template too). That's even tested in my patch. I use non-html escapings a lot myself and that's why I did it this way.
* Mike <[EMAIL PROTECTED]> [October 18 2005, 15:05]: > Sorry to be a pain here, but given that there is also a ESCAPE=URL option > (as Roger pointed out), would it be better to revert back to my original > suggestion of setting 'html_escape' (and now 'url_escape') to 1 (or ON) in > the constructor if they are to be defaults for the template file? Exactly > what they are called I don't mind, but since there are 2 escaping options > in H::T, using 'default_escape' could be ambiguous. > > Alex's patch seems to work well for the html escaping. Perhaps include a > default url escaping option for completeness. > > Mike. -- Alex Kapranoff, $n=["1another7Perl213Just3hacker49"=~/\d|\D*/g]; $$n[0]={grep/\d/,@$n};print"@$n{1..4}\n" ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users