Derick Rethans [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Fri, 22 Jun 2001, lenar wrote:
Shouldn't there be an optional flag to nl2br to change the behavior of function to
what it used to be.
Just there's no point in br / like tags when the rest
Uh, ok. I give up. I just wasn't able earlier to find this paragraph from spec.
Sorry if I disturbed you too much :)
lenar.
Browsers should ignore things which they don't recognise:
(from http://www.w3.org/TR/1999/REC-html401-19991224/html40.txt, paragraph
7.2)
Note. As of the 24
.?
Daniel
- Original Message -
From: [EMAIL PROTECTED]
To: Lenar Lõhmus [EMAIL PROTECTED]
Cc: Matt McClanahan [EMAIL PROTECTED]; PHP Developers Mailing List
[EMAIL PROTECTED]
Sent: Sunday, June 24, 2001 4:13 PM
Subject: Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br
tags
On Sun
ID: 11611
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Strings related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
It's XHTML compliant
Previous Comments:
---
ID: 11611
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Closed
Status: Bogus
Bug Type: Strings related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Could this be even more bogus? :)
Previous Comments:
Shouldn't there be an optional flag to nl2br to change the behavior of function to
what it used to be.
Just there's no point in br / like tags when the rest of your code is just
generating HTML compliant output,
not XHTML.
Ok, somebody can always use something like str_replace("\n", "br",
: Friday, 22 June, 2001 7:07 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br
tags
ID: 11611
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Closed
Status: Bogus
Bug Type: Strings related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments
On Fri, Jun 22, 2001 at 03:18:20PM +0200, lenar wrote:
Shouldn't there be an optional flag to nl2br to change the behavior of
function to what it used to be. Just there's no point in br / like tags
when the rest of your code is just generating HTML compliant output, not
XHTML.
Ok,
the "short of it". =)
Daniel
- Original Message -
From: "lenar" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 22, 2001 8:18 AM
Subject: Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br
tags
Shouldn't there be an optional flag to nl2br to change the behavi