Req #48482 [Opn->Asn]: add $is_html optional parameter to highlight_*

From: Date: Fri, 07 Jan 2011 19:48:25 +0000
Subject: Req #48482 [Opn->Asn]: add $is_html optional parameter to highlight_*
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157746@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=48482&edit=1 ID: 48482 Updated by: kalle@php.net Reported by: php dot net at fuscata dot com Summary: add $is_html optional parameter to highlight_* -Status: Open +Status: Assigned Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: Linux PHP Version: 5.2.9 -Assigned To: +Assigned To: kalle Block user comment: N Private report: N New Comment: I added the $is_xhtml parameter to nl2br() back in 5.3, I can probably cook up a patch for this aswell :) Previous Comments: ------------------------------------------------------------------------ [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 http://bugs.php.net/bug.php?id=48482&edit=1

« previous php.bugs (#157746) next »