Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br tags

2001-06-24 Thread lenar
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

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br tags

2001-06-24 Thread lenar
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

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br tags

2001-06-24 Thread Daniel Beckham
.? 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

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br tags

2001-06-22 Thread lenar
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",

RE: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br tags

2001-06-22 Thread Chris Newbill
How about a big warning on the bug creation page telling the to RTFM and make sure their bug doesn't already exist. I've seen this one at least 10 times. But they are end users, they never listen. -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br tags

2001-06-22 Thread Matt McClanahan
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,

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br tags

2001-06-22 Thread Daniel Beckham
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