PHP 4.0 Bug #8798: nl2br() function and XHTML 1.0
| From: | egeberg at eisenstein dot dk | Date: | Fri, 19 Jan 2001 08:53:02 +0000 |
| Subject: | PHP 4.0 Bug #8798: nl2br() function and XHTML 1.0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44539@lists.php.net to get a copy of this message | ||
From: egeberg@eisenstein.dk
Operating system: Linux
PHP version: 4.0.3pl1
PHP Bug Type: Feature/Change Request
Bug description: nl2br() function and XHTML 1.0
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)
--
Edit Bug report at: http://bugs.php.net/?id=8798&edit=1