PHP 4.0 Bug #8798 Updated: nl2br() function and XHTML 1.0
| From: | avsm@php.net | Date: | Fri, 19 Jan 2001 09:32:27 +0000 |
| Subject: | PHP 4.0 Bug #8798 Updated: nl2br() function and XHTML 1.0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44540@lists.php.net to get a copy of this message | ||
ID: 8798
Updated by: avsm
Reported By: egeberg@eisenstein.dk
Old-Status: Open
Status: Closed
Bug Type: Feature/Change Request
Assigned To:
Comments:
This is already fixed in 4.0.5-cvs. Look at:
http://cvs.php.net/viewcvs.cgi/php4/ext/standard/string.c.diff?r1=1.176&r2=1.177
for the actually commit diff, so wait till 4.0.5 or upgrade to a snapshot from http://snaps.php.net/
Previous Comments:
---------------------------------------------------------------------------
[2001-01-19 03:53:02] egeberg@eisenstein.dk
The nl2br() function prints html not xhtml (<br> and <br/>). Maybe the function should
take a xhtml / html parameter or a new function should be added so that xhtml writers can use the
functions.
Many thanks for alot of greatness in the field of excellence,
Taiis at eisenstein.dk
(check the error out by validating http://taiis.dk at w3)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8798