mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-16 02:55:50 +00:00
Fix whitespace
Don't use direct member variable access
This commit is contained in:
parent
7010edd328
commit
65ffff273a
|
@ -102,10 +102,10 @@ class SyntaxHighlight_GeSHi {
|
|||
$out = str_replace( "\n", '', $out );
|
||||
}
|
||||
// Register CSS
|
||||
$parser->mOutput->addHeadItem( self::buildHeadItem( $geshi ), "source-{$lang}" );
|
||||
$parser->getOutput()->addHeadItem( self::buildHeadItem( $geshi ), "source-{$lang}" );
|
||||
|
||||
if( $wgUseSiteCss ) {
|
||||
$parser->mOutput->addModuleStyles( 'ext.geshi.local' );
|
||||
$parser->getOutput()->addModuleStyles( 'ext.geshi.local' );
|
||||
}
|
||||
|
||||
$encloseTag = $enclose === GESHI_HEADER_NONE ? 'span' : 'div';
|
||||
|
|
Loading…
Reference in a new issue