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

From: Date: Sat, 27 Dec 2014 18:27:55 +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-189228@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 Revision: 1419704874 URL: https://bugs.php.net/patch-display.php?bug=48482&patch=bug48482&revision=1419704874 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#189228) next »