Re: Bug #11075: bad operation of nl2br function
| From: | Daniel Beckham | Date: | Thu, 24 May 2001 15:26:52 +0000 |
| Subject: | Re: Bug #11075: bad operation of nl2br function | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-56631@lists.php.net to get a copy of this message | ||
No, this does not break existing browsers. The problem is that nl2br has
been around for a long time. Once you understand what nl2br does, you never
need to view the function's documenation again. All the sudden, someone
sees the <br /> output, they think "bug!" and report it. They never think
to view the documentation again since it's such a trivial function.
Personally, I think people should pay more attention to web standards... if
they did, they would know it's XHTML.
Daniel
----- Original Message -----
From: "Brian Tanner" <btanner@home.com>
To: <php-dev@lists.php.net>
Sent: Thursday, May 24, 2001 4:02 AM
Subject: RE: [PHP-DEV] Bug #11075: bad operation of nl2br function
> Ok, I've seen this "bug" reported too many times to sit idly by.
>
> :)
>
> The <br /> has the "/" so that the html is XHTML compliant. (if memory
> serves)
>
> My question -- is this breaking anything for anyone? Is <br /> in any way
> detrimental to browsers anywhere?
>
> Brian Tanner
> Project Manager
> Zaam Internet Solutions
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>