PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Text » Text_Highlighter » Bug #3797

Extra span close tag produced with php highlighting.

Details

Submitted2005-03-13 02:33 UTC
Fromjjfoerch at earthlink dot net
Assignedblindman
StatusClosed
PackageText_Highlighter
PHP Version4.3.4
OSSuSE 9.1
Roadmaps(Not assigned)

Comments

[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 = highlight($d));

Actual result:
--------------
A string with no php code in it.