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
 [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 07:01:28 2025 UTC