Re: [SMARTY] nl2br in a template?
| From: | Paul Lockaby | Date: | Wed, 26 Feb 2003 21:48:06 +0000 |
| Subject: | Re: [SMARTY] nl2br in a template? | ||
| References: | 1 2 3 4 | Groups: | php.smarty.dev php.smarty.general |
| Request: | Send a blank email to php-smarty-dev+get-847@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote:
2) Should it always return XHTML compliant code <br />, regardless of PHP version? the PHP command nl2br() pre-PHP 4.0.5 doesn't output XHTML break tags. I think it would be good to always be XHTML compliant.Since Smarty doesn't even work with versions before 4.0.6, I hardly see this as relevant. But I could be wrong. ~Paul