mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 10:39:53 +00:00
Follow-up to r63815: code style
This commit is contained in:
parent
d0eb05173e
commit
0342a1a717
|
@ -86,7 +86,7 @@ class SyntaxHighlight_GeSHi {
|
||||||
// Register CSS
|
// Register CSS
|
||||||
$parser->mOutput->addHeadItem( self::buildHeadItem( $geshi ), "source-{$lang}" );
|
$parser->mOutput->addHeadItem( self::buildHeadItem( $geshi ), "source-{$lang}" );
|
||||||
if ( $enclose === GESHI_HEADER_NONE ) {
|
if ( $enclose === GESHI_HEADER_NONE ) {
|
||||||
$out = '<span class="mw-geshi '.$lang.' source-'.$lang.'">'.$out . '</span>';
|
$out = '<span class="mw-geshi '.$lang.' source-'.$lang.'">' . $out . '</span>';
|
||||||
} else {
|
} else {
|
||||||
$out = '<div dir="ltr" class="mw-geshi" style="text-align: left;">' . $out . '</div>';
|
$out = '<div dir="ltr" class="mw-geshi" style="text-align: left;">' . $out . '</div>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue