Fix whitespace

Don't use direct member variable access
This commit is contained in:
Sam Reed 2011-12-16 14:51:31 +00:00
parent 7010edd328
commit 65ffff273a

View file

@ -102,10 +102,10 @@ class SyntaxHighlight_GeSHi {
$out = str_replace( "\n", '', $out ); $out = str_replace( "\n", '', $out );
} }
// Register CSS // Register CSS
$parser->mOutput->addHeadItem( self::buildHeadItem( $geshi ), "source-{$lang}" ); $parser->getOutput()->addHeadItem( self::buildHeadItem( $geshi ), "source-{$lang}" );
if( $wgUseSiteCss ) { if( $wgUseSiteCss ) {
$parser->mOutput->addModuleStyles( 'ext.geshi.local' ); $parser->getOutput()->addModuleStyles( 'ext.geshi.local' );
} }
$encloseTag = $enclose === GESHI_HEADER_NONE ? 'span' : 'div'; $encloseTag = $enclose === GESHI_HEADER_NONE ? 'span' : 'div';