RE: [PHP] nl2br returns <BR />? normality or a bug?

From: Date: Mon, 08 Apr 2002 14:31:33 +0000
Subject: RE: [PHP] nl2br returns <BR />? normality or a bug?
Groups: php.general 
Request: Send a blank email to php-general+get-92053@lists.php.net to get a copy of this message
For the record <br/> (which would be the 'normal' xhtml style) is unrecognized (and therefor ignored) by Netscape 4.x. However, it recognizes and properly handles <br />, which I'm sure is why it is output in that format. If anybody has seen <br/> misbehave, try going back and testing with <br />. - Theo -----Original Message----- From: Miguel Cruz [mailto:mnc@stoic.net] Sent: Saturday, April 06, 2002 1:57 AM To: Justin French Cc: php Subject: Re: [PHP] nl2br returns <BR />? normality or a bug? On Sat, 6 Apr 2002, Justin French wrote: > on 06/04/02 11:05 AM, Maxim Maletsky (subscriptions@phpbeginner.com) wrote: >> It DOES NOT work fine in every browser. I'd love to give you a prov, but >> because I am lazy I will just tell you this formula: > > Again. I was only stating MY experience. "Every browser I can get my hands > on". I do extensive testing, and have never seen a <BR> or <BR/> or <BR /> > misbehave. > > If you have seen it perform unexpectedly, I'm keen to hear about. For what it's worth, I just tried on the following browsers (all I have at my disposal at home) and it works fine: links 0.96 lynx 2.8.3 Opera 5.0.498 (Mac) IE 5.1.3 (Mac) Mozilla 0.9.9 (Mac) Netscape 6.1 (Mac) miguel

« previous php.general (#92053) next »