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

Bug #3797 Extra span close tag produced with php highlighting.
Submitted: 2005-03-12 21:33 UTC Modified: 2006-12-27 00:08 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)    
Subscription  


 [2005-03-12 21: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.

Comments

 [2005-03-13 12: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 http://pear.php.net/get/Text_Highlighter