Req #48482 [PATCH]: add $is_html optional parameter to highlight_*

From: Date: Sun, 28 Dec 2014 19:50:14 +0000
Subject: Req #48482 [PATCH]: add $is_html optional parameter to highlight_*
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189258@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=48482&edit=1

 ID:                 48482
 Patch added by:     kalle@php.net
 Reported by:        php dot net at fuscata dot com
 Summary:            add $is_html optional parameter to highlight_*
 Status:             Assigned
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   Linux
 PHP Version:        5.2.9
 Assigned To:        kalle
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[2014-12-27 18:33:56] 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-27 18:27:54] 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

------------------------------------------------------------------------
[2011-01-07 20:48:25] 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 :)

------------------------------------------------------------------------
[2009-06-05 17:22:45] 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().



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=48482&edit=1


Thread (7 messages)

« previous php.bugs (#189258) next »