|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-12-31 20:42 UTC] jani@php.net
-Status: Open
+Status: Wont fix
-Package: Feature/Change Request
+Package: *General Issues
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 15:00:01 2025 UTC |
Description: ------------ The code highlight functions always output a surrounding <span> element to make all the content black. This is not needed. <code style="color:#000"> can be used instead. Reproduce code: --------------- <?php highlight_string('$foo'); Expected result: ---------------- <code><span style="color: #000000"> $foo</span> </code> Actual result: -------------- &t;code style="color: #000000"> $foo </code>