Re: [PHP Template] A suggestion

From: Date: Tue, 29 Feb 2000 05:33:32 +0000
Subject: Re: [PHP Template] A suggestion
References: 1 2  Groups: php.template 
Request: Send a blank email to php-template+get-243@lists.php.net to get a copy of this message
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. thinking as I type... -dan > > This brings up a good point. Right now we have "escape" attribute which > says whether to HTML escape the output of a variable. Well, what if it's > used in XMl or plain e-mail? What do we need to escape then? > > > Hope I got most of the stuff above right. Feel free to correct me if I did > > not understand some point in the PHP-TE description (hey! new acronym ;) > > Yes, you got everything right. I'll add your drawing and paragraph to > the spec. > > -Andrei > > -- > PHP Template Engine Mailing List > Current engine specification can be found at: > http://va.php.net/~andrei/tpl-engine-spec.txt > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net

« previous php.template (#243) next »