Hi there, but <br /> is NOT HTML-sompatible. With other commends, there'll be some errors in output... > -----Ursprüngliche Nachricht----- > Von: Bug Database [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 14. Mai 2001 14:02 > An: [EMAIL PROTECTED] > Betreff: Bug #10847 Updated: nl2br - buggy > > > ID: 10847 > Updated by: sniper > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Bogus > Bug Type: Strings related > Operating system: > PHP Version: 4.0.5 > Assigned To: > Comments: > > This is the correct behaviour. It's now xhtml compatible. > No bug. > > > --Jani > > > Previous Comments: > ------------------------------------------------------------------ > --------- > > [2001-05-14 07:54:43] [EMAIL PROTECTED] > $foo = "n"; > $foo = nl2br($foo); > > // $foo is now "<br />" !!!!!! > > ------------------------------------------------------------------ > --------- > > > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at > http://bugs.php.net/?id=10847&edit=2 > > -- 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]