https://bugzilla.wikimedia.org/show_bug.cgi?id=19416
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Summary|Apply consistent borders to |GeSHi-generated blocks |GeSHi-generated code blocks |should use <pre> style for | |the container --- Comment #15 from Krinkle <[email protected]> 2012-03-06 22:16:16 UTC --- As of 1.19.0 the output of <source lang="javascript"> foo(); </source> Looks like this: <div dir="ltr" class="mw-geshi mw-content-ltr"> <div class="javascript source-javascript"> <pre class="de1">foo<span class="br0">(</span><span class="br0">)</span><span class="sy0">;</span> </pre></div> </div> But regardless of there being a <pre> element, it has no styling that skins set on pre. Reason being that Geshi's internally generated style block has an overkill reset on selectors like ".javascript.source-javascript .de1". Easiest solution I can see: * Instead of wrapping geshi output in <div class="mw-geshi">, wrap it <pre class="mw-geshi"> -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
