Re: Function proposal: nl2p
| From: | Markus Fischer | Date: | Sun, 07 Mar 2004 20:04:16 +0000 |
| Subject: | Re: Function proposal: nl2p | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8422@lists.php.net to get a copy of this message | ||
On Sun, Mar 07, 2004 at 01:07:08PM -0500, Louis-Philippe Huberdeau wrote :
> /* {{{ proto string nl2p(string str)
> Converts newlines to HTML paragraphs for standard compliance */
I'm not to judge whether this goes in or not, however using
paragraphs is not more standard compliance than breaks. Breaks
aren't deprecated in the current version of HTML.
It's about semantics, not about standard compliance. This should be
called by the right name if it's used.
- Markus