Last modified: 2009-06-25 22:25:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18324, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16324 - html generated by GeSHi SyntaxHighlight <source> does not have a consistent class.
html generated by GeSHi SyntaxHighlight <source> does not have a consistent c...
Status: RESOLVED DUPLICATE of bug 11274
Product: MediaWiki extensions
Classification: Unclassified
SyntaxHighlight (GeSHi) (Other open bugs)
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-11-12 22:38 UTC by Splarka
Modified: 2009-06-25 22:25 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Splarka 2008-11-12 22:38:37 UTC
For example, a <source lang="php"> can generate, depending on GeSHi configuration/version:

 <div dir="ltr" style="text-align: left;">
 <pre class="source-php">


 <div dir="ltr" style="text-align: left;">
 <div class="php source-php" style="font-family:monospace;">
 <pre class="de1">

In both cases, the outermost div should have a consistent class, such as class="geshi" so that styles can be applied to the divs, as well as the descendant (child or grandchild) <pre> arbitrarily (to the exclusion of native pre tags) in [[MediaWiki:Geshi.css]].
Comment 1 Splarka 2009-06-24 05:50:45 UTC
Probably fixed in r52346. class="mw-geshi" will appear on outermost div or span. Should now be possible to re-add the dashed border with: {padding: 1em;border: 1px dashed #2f6fab;}

Note that removing the border from the <pre> is still typically correct, as it isn't the optimal place to re-add it if multiple pre exist in a code block (as in some situations/versions).
Comment 2 Ms2ger 2009-06-24 10:10:53 UTC
*** Bug 11274 has been marked as a duplicate of this bug. ***
Comment 3 Obsolete 2009-06-25 22:25:34 UTC

*** This bug has been marked as a duplicate of bug 11274 ***

Note You need to log in before you can comment on or make changes to this bug.