Re: [PHP Template] A suggestion
[email protected] (Andrei Zmievski) Tue, 29 Feb 2000 08:29:39 -0600
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 28 Feb 2000, Dan Libby wrote: > html escaping should work for XML also, so long as it uses character entities. > For plain ascii, why would they want to escape? Anyway, the attribute should > probably be called "htmlescape" instead of escape. Actually, more useful would be > escape="html|xml|url", and equivalent unescape="html|xml|url". There are > probably some other escape types that would be good too. Yeah, that was my question, is there a difference between HTML and XML escaping? URL escaping might be good, but I have to ask, should it really be done in the template or in the script? -Andrei * Life may be expensive, but it includes an annual free trip around the sun. *