Adding text-align: left to the div of <source>, to avoid problems when the text-align is set differently.

This commit is contained in:
Rotem Liss 2007-12-14 16:54:00 +00:00
parent cffda983af
commit 95156dcd11

View file

@ -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>';
}
}