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

From: Date: Fri, 22 Jun 2001 17:37:05 +0000
Subject: RE: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid <br> tags
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-57688@lists.php.net to get a copy of this message
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: sniper@php.net [mailto:sniper@php.net] Sent: Friday, 22 June, 2001 7:07 AM To: php-dev@lists.php.net Subject: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid <br> tags ID: 11611 Updated by: sniper Reported By: nutbar@chemlab.org 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: --------------------------------------------------------------------------- [2001-06-22 04:39:51] derick@php.net It's XHTML compliant --------------------------------------------------------------------------- [2001-06-21 22:13:10] nutbar@chemlab.org put this into a test php file: <?php $temp = "this isnna testn"; printf("%s", nl2br($temp)); ?> and you should get this as output from your webserver: this is<br /> <br /> a test<br /> I have confirmed this to be also an issue in the 4.0.6 release candidates, but I do not know when this all of a sudden became an issue. I'd like to know why it's creating <br /> tags instead of <br> tags :) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11611&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#57688) next »