php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10698 nl2br produces <br /> instead of <br>
Submitted: 2001-05-07 07:00 UTC Modified: 2001-05-07 07:09 UTC
From: carrion at elysium dot pl Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.5 OS: Linux RedHat 6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 + 28 = ?
Subscribe to this entry?

 
 [2001-05-07 07:00 UTC] carrion at elysium dot pl
$t2 = nl2br ($t1);

module was compiled with:
--with-apxs=/opt/apache/bin/apxs
--with-mysql=/mysql

php.ini was not changed from original

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-07 07:09 UTC] cnewbill@php.net
This was changed quite a while ago to be XHTML (strict) compliant.

Not a PHP bug.

-Chris
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 16:01:31 2024 UTC