modifier.escape.php
| From: | Simon Benjamin | Date: | Wed, 21 May 2003 09:04:19 +0000 |
| Subject: | modifier.escape.php | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1467@lists.php.net to get a copy of this message | ||
Hello,
Please find attached a patch for the "modifier.escape.php", which
includes the following
utf8_encode - utf8enc
utf8_decode - utf8dec
base64_encode - base64enc
base64_decode - base64dec
and a foreach where you can specify more "escape":
{ $text|escape:"html|utf8enc" }
It can be used well with XML output ;)
If you consider it useful, you can use it.
Thanks :)
--
bye, Benjamin