ID: 29693 Updated by: [EMAIL PROTECTED] Reported By: joel at sitemasters dot be -Status: Open +Status: Closed Bug Type: Output Control Operating System: redhat Fedora PHP Version: 4.3.8 New Comment:
Seems to work fine with latest CVS snapshot. Previous Comments: ------------------------------------------------------------------------ [2004-08-16 03:07:28] joel at sitemasters dot be Description: ------------ Hello, When I try to highlight some source code, the output is sometimes blue (#0000BB) when it has to be black. Reproduce code: --------------- <?php $string = '<?php echo "test"; ?> blaa blabla ? die, test test'; echo highlight_string ($string,1); ?> Expected result: ---------------- in HTML source: <code><font color="#000000"> <font color="#0000BB"><?php </font><font color="#007700">echo </font><font color="#DD0000">"test"</font><font color="#007700">; </font><font color="#0000BB">?></font> blaa blabla ? die, test test</font> </code> Actual result: -------------- in HTML source: <code><font color="#000000"> <font color="#0000BB"><?php echo </font><font color="#DD0000">"test"</font><font color="#0000BB">; ?> blaa blabla ? die, test test</font> </font> </code> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29693&edit=1
