Correct whitespace around <syntaxhighlight> blocks

Remove trailing \n after closing </div>, as it results in multiple
newlines that confuse the MediaWiki parser into generating <p><br></p>
all over the place.

Bug: T85794
Change-Id: Iffaa73b49c29e94d8a1a659dd40b845a9f4ce0c1
This commit is contained in:
Bartosz Dziewoński 2015-06-23 16:43:20 +02:00 committed by Ori.livneh
parent 5b7522a5fc
commit 6a20c7f38d

View file

@ -120,7 +120,7 @@ class SyntaxHighlight_GeSHi {
// Register CSS
$parser->getOutput()->addModuleStyles( 'ext.pygments' );
return $out;
return trim( $out );
}
/**