r63815 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63814‎ | r63815 | r63816 >
Date:12:48, 16 March 2010
Author:happy-melon
Status:ok
Tags:
Comment:
(bug 22848) Rm extraneous space after <span> tag, which Tidy moves outside the tag forcing a perhaps-unwanted break.
Modified paths:
  • /trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php
@@ -86,7 +86,7 @@
8787 // Register CSS
8888 $parser->mOutput->addHeadItem( self::buildHeadItem( $geshi ), "source-{$lang}" );
8989 if ( $enclose === GESHI_HEADER_NONE ) {
90 - $out = '<span class="mw-geshi '.$lang.' source-'.$lang.'"> '.$out . '</span>';
 90+ $out = '<span class="mw-geshi '.$lang.' source-'.$lang.'">'.$out . '</span>';
9191 } else {
9292 $out = '<div dir="ltr" class="mw-geshi" style="text-align: left;">' . $out . '</div>';
9393 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r63816Follow-up to r63815: code stylehappy-melon12:50, 16 March 2010

Status & tagging log