Re: Re[2]: [SMARTY] escape bug ?

From: Date: Thu, 02 Jan 2003 14:22:15 +0000
Subject: Re: Re[2]: [SMARTY] escape bug ?
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6985@lists.php.net to get a copy of this message
Le jeu 02/01/2003 à 14:57, Bertrand DUNOGIER a écrit : > 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. But in the online doc : http://smarty.php.net/manual/en/language.modifier.escape.php i see an exemple with %20 : $smarty->assign('articleTitle', "'Stiff Opposition Expected to Casketless Funeral Plan'"); {$articleTitle|escape:"htmlall"} {* escapes ALL html entities *} 'Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan' So ? -- Frederic Logier <fred@az-informatique.com> AZ Informatique

« previous php.smarty.general (#6985) next »