Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.0

Bug #3797 Extra span close tag produced with php highlighting.
Submitted: 2005-03-13 02:33 UTC
From: jjfoerch at earthlink dot net Assigned: blindman
Status: Closed Package: Text_Highlighter
PHP Version: 4.3.4 OS: SuSE 9.1
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 1 + 19 = ?

 [2005-03-13 02:33 UTC] jjfoerch at earthlink dot net
Description: ------------ With Text_Highlighter 0.6.2. The invocation of the PHP highlighter below causes the output to contain a at the end with no corresponding open tag. Reproduce code: --------------- require_once 'Text/Highlighter.php'; $d = <<< EOD A string with no php code in it. EOD; $m =& Text_Highlighter::factory('PHP',array()); echo ($m->highlight($d)); Actual result: --------------
A string with no php code in it.


 [2005-03-13 17:09 UTC] blindman
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at