In your diff, you have this line: + zend_printf("<span style=\"color: %s\";>\n", last_color);
There's a semicolon (;) in the <span> tag (marked in red, if available). If that was meant to be part of the style attribute (like style=\"color: %s;\">), then it is in the wrong place. And also, if that is the place it's supposed to be, then you missed one on the + zend_printf("<span style=\"color: %s\">", last_color); line. If I'm wrong, forgive me. Sincerely, Gordon Hemsley