Re: HTML Entities
| From: | pete M | Date: | Thu, 02 Sep 2004 16:30:10 +0000 |
| Subject: | Re: HTML Entities | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11760@lists.php.net to get a copy of this message | ||
{$someVar|escape:"htmlall"}
http://smarty.php.net/manual/en/language.modifier.escape.php
Jake Stride wrote:
Is there a way to have smarty automatically replace all html entites in variable in a template? Ie Code: $smarty->assign("someVar", "One & one"); Template {$someVar} Would become One & one?