Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2008 at 17:34 UTC
Updated:
22 Mar 2008 at 19:12 UTC
This seems to be a different issue from the one fixed in http://drupal.org/node/208635
It seems that the Drupal 5.6 + geshifilter 2.4 + geshi 1.0.7.20 are no longer generating the necessary span elements to style keywords.
Filters are, from lightest to heaviest, HTML, line break, URL, GeSHi.
I will try Drupal 5.5 + geshifilter 2.4 shortly.
Comments
Comment #1
The Fiddler commentedComment #2
The Fiddler commentedI can reproduce the problem on Drupal 5.5 / geshifilter 2.4 (Drupal 5.5 / geshifilter 2.1 works).
The keywords do no have the 'span' elements around them anymore.
If you need any more testing, please say so :)
Comment #3
aclight commentedsubscribing
Comment #4
The Fiddler commentedThis report is a false alarm/user error.
@aclight: try checking the 'status' page, it should show that the database schema needs updating. Do so, and things will go back to normal again.
Closing the bug - if it is still there after updating, I will reopen it :)
Comment #5
aclight commentedMy database does not need an upgrade, but I have a feeling the bug I'm seeing on my site is a separate problem, so i'll leave this closed for now until I can figure out where it's coming from.
Comment #6
soxofaan commentedGeSHi filter does not use any database table, but there is a geshifilter_update_1() hook however, but that can't be the source of the problem/solution.
Are you both sure it isn't some caching problem?
Are you still having troubles after clearing the filter cache ("?q=geshifilter/clearfiltercache")?
In my setups (D5.6 + GeSHifilter 5.x-2.x-dev and D6.x-dev + GeSHifilter 6.x-dev) everything seems fine, but I constantly clear my filter cache during testing.
Comment #7
aclight commentedClearing the geshifilter cache as you suggested (as well as clearing all caches using devel) does not fix the problem for me.
Comment #8
soxofaan commentedOther suggestions:
Test with an input format with only the GeSHi filter in its pipeline
Try different GeSHi filter settings (div-container/pre-container, inline CSS mode/stylesheet mode, ...)
Comment #9
soxofaan commentedany new information about this problem?
Comment #10
aclight commentedI don't believe I'm having this problem on my site anymore, which is running geshifilter v. 2.6. So either you (accidentally?) fixed the problem between versions 2.4 and 2.6, or it was a configuration problem that I happened to fix, likely by accident.
Comment #11
soxofaan commentedAll right, so this issue can be closed again.