mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 10:39:53 +00:00
Adding text-align: left to the div of <source>, to avoid problems when the text-align is set differently.
This commit is contained in:
parent
cffda983af
commit
95156dcd11
|
@ -64,7 +64,7 @@ class SyntaxHighlight_GeSHi {
|
|||
$out = str_replace( "\n", '', $out );
|
||||
// Register CSS
|
||||
$parser->mOutput->addHeadItem( self::buildHeadItem( $geshi ), "source-{$lang}" );
|
||||
return '<div dir="ltr">' . $out . '</div>';
|
||||
return '<div dir="ltr" style="text-align: left;">' . $out . '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue