php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10367 nl2br() change please
Submitted: 2001-04-17 16:41 UTC Modified: 2001-04-17 16:48 UTC
From: reywob at f2s dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: any
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: reywob at f2s dot com
New email:
PHP Version: OS:

 

 [2001-04-17 16:41 UTC] reywob at f2s dot com
Hi,

I hope this is the right place, as I can't find anywhere else.

I would like the nl2br() function to be altered to generate the XML complient <.br /> instead of <.br>  (dots added to make sure they show up).  Otherwise it adds an extra stage to making an XHTML complient site in PHP.

Thanks,
Peter.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-17 16:48 UTC] derick@php.net
This is already fixed in CVS. Will be in the upcoming PHP 4.0.5
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 20:01:46 2025 UTC