Re: [SMARTY-DEV] modifier.escape.php
| From: | Katana | Date: | Wed, 21 May 2003 09:44:32 +0000 |
| Subject: | Re: [SMARTY-DEV] modifier.escape.php | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1468@lists.php.net to get a copy of this message | ||
SB> Please find attached a patch for the
SB> "modifier.escape.php", which
SB> includes the following
SB> utf8_encode - utf8enc
SB> utf8_decode - utf8dec
SB> base64_encode - base64enc
SB> base64_decode - base64dec
SB> and a foreach where you can specify more "escape":
SB> { $text|escape:"html|utf8enc" }
SB> It can be used well with XML output ;)
SB> If you consider it useful, you can use it.
SB> Thanks :)
+1 !
I like it
Katana