escape bug ?
| From: | Frederic Logier | Date: | Thu, 02 Jan 2003 13:14:50 +0000 |
| Subject: | escape bug ? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6978@lists.php.net to get a copy of this message | ||
hi,
i have some trouble with escape variable modifier :
in php page :
$smarty->assign("prout", "ok ça roulé");
in tpl page :
{$prout|escape:"url"}
out:
ok+%E7a+roul%E9
good but with :
{$prout|escape:"html"}
or
{$prout|escape:"htmlall"}
out :
ok ça roulé
nothing is encoded (caching is false).
I use smarty 2.3.1, what about that ?
--
Frederic Logier <fred@az-informatique.com>
AZ Informatique