Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Sep 2007 at 22:27 UTC
Updated:
14 Oct 2007 at 16:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
soxofaan commentedThis is because the closing [/code] tag is trimmed in the teaser. The GeSHi filter tries to match paired [code]...[/code] tags however and when it doesn't find paired tags, it doesn't do the highlighting.
The patch in attachment (for the 5.x-2.x branch) enables the handling of an unpaired [code] tag,
but I'm not really sure if that patch should make it to the official version, since it is a problem with the teaser trimming, not the GeSHi filter.
Easy workaround is to control the teaser chop off point manually with "<--break-->".
BTW: do you really use the version from HEAD? You should use the versions from the 5.x-2.x branch, since current development happens there and not in HEAD for the moment.
Comment #2
soxofaan commentedfixed by http://drupal.org/cvs?commit=82434
Comment #3
(not verified) commented