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" <[EMAIL PROTECTED]>
To: <[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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to