Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
6.x-1.x-dev
Component:
Filtering
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2009 at 23:46 UTC
Updated:
14 Jul 2009 at 12:20 UTC
Comments
Comment #1
soxofaan commentedGo to GeSHi admin page,
in fieldset "Styling, layout and CSS", set the option "CSS mode for syntax highlighting" to your liking
(inline styling is less likely to cause setup troubles, that's why it's the default)
Comment #2
jjalocha commentedOoops, sorry. I missed that! <blush/>
But the <pre> and <div> elements still keep using a 'style' attribute:
I am not sure, if there's a reason for this.
Comment #3
soxofaan commentedI had difficulties with reproducing this, the style attribute only shows up for the [div] mode.
This appears to be a bug in the GeSHi library,
not something that can be solved in the GeSHi filter module (which is basically a wrapper around the library).
(for clarity: I am using GeSHi library version 1.0.7.22 here)
If you care about this, you could file a bug in the GeSHi library bug tracker
Comment #4
jjalocha commentedThank you for the clarification.
I am using GeSHi 1.0.8.4, and I reported the bug at SourceForge.
Comment #5
soxofaan commentedthanks,
nothing more to do here then
Comment #6
jjalocha commentedsaxofan, thank you very much for your excellent and timely support!
Everything went also well with the people from the GeSHi project, and they have fixed the problem already in SVN. So we should have the correct behavior in the next release.