Re: [PHP-DEV] Bug #11075: bad operation of nl2br function From: Daniel Beckham (danbeck <email protected>)
Date: 05/24/01

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 <email protected>>
To: <php-dev <email protected>>
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 <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>