From 65ffff273aafc7566f04435a79c8bfe2fd8424b1 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 16 Dec 2011 14:51:31 +0000 Subject: [PATCH] Fix whitespace Don't use direct member variable access --- SyntaxHighlight_GeSHi.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SyntaxHighlight_GeSHi.class.php b/SyntaxHighlight_GeSHi.class.php index b2781a34..8b3fb50c 100644 --- a/SyntaxHighlight_GeSHi.class.php +++ b/SyntaxHighlight_GeSHi.class.php @@ -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';