|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12976 nl2br()
Submitted: 2001-08-27 09:21 UTC Modified: 2001-08-27 13:40 UTC
From: wurtzel at web dot de Assigned:
Status: Not a bug Package: Website problem
PHP Version: 4.0.6 OS: win2000 /Linux
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:
Solve the problem:
33 - 18 = ?
Subscribe to this entry?

 [2001-08-27 09:21 UTC] wurtzel at web dot de
I have problems whith the function "nl2br()" it gives out <br /> and should give out <br>.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-27 13:40 UTC]
<br /> is correct for xhtml compliance, and is also valid html.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 20 12:03:35 2022 UTC