Re: [SMARTY] Convert html special chars?
| From: | Stephen J. Lawrence Jr. | Date: | Thu, 03 Mar 2005 17:41:49 +0000 |
| Subject: | Re: [SMARTY] Convert html special chars? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12295@lists.php.net to get a copy of this message | ||
Nevermind, I found that the escape modifier does what I need it to do.
steve
Stephen J. Lawrence Jr. wrote:
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