php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13578 Error-messages contain <br> instead of <br />
Submitted: 2001-10-06 15:52 UTC Modified: 2001-10-09 15:19 UTC
From: sander@php.net Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.6 OS: n/a
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sander@php.net
New email:
PHP Version: OS:

 

 [2001-10-06 15:52 UTC] sander@php.net
Error-messages contain <br> instead of <br />. <br /> should be used for XHTML-compatibility.

Fix: line 421 of main.c in php4/main:
                                "<br>\n<b>%s</b>:  %s in <b>%s</b> on line <b>%d</b><br>\n"
should be
                                "<br />\n<b>%s</b>:  %s in <b>%s</b> on line <b>%d</b><br />\n"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-06 16:06 UTC] derick@php.net
Fixed in CVS
 [2001-10-09 11:53 UTC] sander@php.net
Although Derick did an excellent job, there are still a few <br>'s left...

/php4/ext/hyperwave/hg_comm.c, line 1421, 1473, 5686, 5798 & 5812 
/php4/ext/mcal/php_mcal.c, line 147 
/php4/ext/standard/scanf.c, line 626 
/php4/ext/ircg/ircg.c, line 167 
/php4/ext/ircg/ircg_scanner.c, line 336 
/php4/ext/ircg/ircg_scanner.re, line 228 
/php4/ext/fribidi/fribidi.c, line 193 & 230
/php4/ext/xslt/xslt.c, line 48
/php4/sapi/pi3web/pi3web_sapi.c, line 94
/php4/sapi/tux/php_tux.c, line 345

This does not include PEAR.
 [2001-10-09 15:10 UTC] derick@php.net
weird, but I shall fix them :)

Derick
 [2001-10-09 15:19 UTC] derick@php.net
Fixed (Except for ircg stuff)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 07:00:01 2026 UTC