Re: HTML::Template escaping squashes HTML entities
Michael Peters <[email protected]> Thu, 20 Mar 2008 10:45:52 -0400
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
Alex Teslik wrote: > So I propose that the HTML::Template escaping does not squash HTML entities. > Something like (quick off the cuff) This seems like a very specific case to me. You are having a problem because your text contains some HTML encoded things, but not all and because of the limitations of charsets that your project has. These aren't very generic and is not a problem that H::T should solve. You know that your data won't fit the standard, so just do the escaping you propose on your own. > How do others typically get around this problem? We either don't have mixed strings like you do, or we've moved on to UTF8 :) -- Michael Peters Plus Three, LP ------------------------------------------------------------------------- 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/