Convert html special chars?
| From: | Stephen J. Lawrence Jr. | Date: | Thu, 03 Mar 2005 16:48:03 +0000 |
| Subject: | Convert html special chars? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12294@lists.php.net to get a copy of this message | ||
Is there a way to have smart convert html special chars?
Example:
I have a company name like "Joe & Sons" in an array that is sent to smarty output. I would like smarty to convert this to "Joe & Sons" to make it valid html. Is there a function for doing this?
steve