php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wurtzel at web dot de
New email:
PHP Version: OS:

 

 [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>.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-27 13:40 UTC] jimw@php.net
<br /> is correct for xhtml compliance, and is also valid html.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC