php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #48482 add $is_html optional parameter to highlight_*
Submitted: 2009-06-05 17:22 UTC Modified: 2016-07-31 04:25 UTC
Votes:3
Avg. Score:3.3 ± 1.7
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: php dot net at fuscata dot com Assigned:
Status: Open Package: *General Issues
PHP Version: 5.2.9 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php dot net at fuscata dot com
New email:
PHP Version: OS:

 

 [2009-06-05 17:22 UTC] php dot net at fuscata dot com
Description:
------------
highlight_string() and highlight_file() return XHTML code. Please add the optional parameter $is_xhtml similar to nl2br().


Patches

bug48482-2 (last revision 2014-12-28 19:50 UTC) by kalle@php.net)
bug48482-doc (last revision 2014-12-27 18:33 UTC) by kalle@php.net)
bug48482 (last revision 2014-12-27 18:27 UTC) by kalle@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-07 20:48 UTC] kalle@php.net
-Status: Open +Status: Assigned -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: kalle
 [2011-01-07 20:48 UTC] kalle@php.net
I added the $is_xhtml parameter to nl2br() back in 5.3, I can probably cook up a patch for this aswell :)
 [2014-12-27 18:27 UTC] kalle@php.net
The following patch has been added/updated:

Patch Name: bug48482
Revision:   1419704874
URL:        https://bugs.php.net/patch-display.php?bug=48482&patch=bug48482&revision=1419704874
 [2014-12-27 18:33 UTC] kalle@php.net
The following patch has been added/updated:

Patch Name: bug48482-doc
Revision:   1419705236
URL:        https://bugs.php.net/patch-display.php?bug=48482&patch=bug48482-doc&revision=1419705236
 [2014-12-28 19:50 UTC] kalle@php.net
The following patch has been added/updated:

Patch Name: bug48482-2
Revision:   1419796214
URL:        https://bugs.php.net/patch-display.php?bug=48482&patch=bug48482-2&revision=1419796214
 [2016-07-31 04:25 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: kalle +Assigned To:
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Sep 18 21:01:27 2018 UTC