On 3/19/08, Alex Teslik <[EMAIL PROTECTED]> wrote: > But then I can no longer do all my escaping in the template.
Well, you're effectively handing it a half-escaped string. That's kind of a special case. > So I propose that the HTML::Template escaping does not squash HTML entities. That would break its behavior for me - I'm handing it unescaped strings, which (being somewhat self-referential discussions of HTML and CSS) very often contain examples of HTML entities, which H::T properly escapes so they are displayed the way the author expects them to be. It's not terribly helpful if, for example, someone says "To display an ampersand on the page, use '&'" and the forum displays "use '&'". An alternate escaping method would be fine, but changing the default behavior to kinda-sorta escape things, but not always, would IMHO be a Really Bad Thing. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users