HTML Entities
| From: | Jake Stride | Date: | Thu, 02 Sep 2004 15:04:19 +0000 |
| Subject: | HTML Entities | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11753@lists.php.net to get a copy of this message | ||
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?