Re[2]: [SMARTY] escape bug ?
| From: | Bertrand DUNOGIER | Date: | Thu, 02 Jan 2003 13:57:10 +0000 |
| Subject: | Re[2]: [SMARTY] escape bug ? | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6983@lists.php.net to get a copy of this message | ||
FL> Le jeu 02/01/2003 à 14:23, Bertrand DUNOGIER a écrit :
>> I have just tested the same kind of code:
>> $tpl->assign('VAR', 'èçà');
>> ...
>> {$VAR|escape:"htmlall"}
>>
>> and i get in my HMTL source
>> èçà
FL> yes with htmlall i have in the html source :
FL> ok ça roulé
FL> But shouldn't i have %20 in the place of two spaces ?
I don't think so... %20 is urlencode, as far as I know. It is said
that htmlall escapes htmlentities, and space is not within
htmlentities.
Bertrand