From: Niklas Laxström Date: Wed, 14 Sep 2011 08:30:11 +0000 (+0000) Subject: There was a double space between log action text and user comment. Remove the space... X-Git-Tag: 1.31.0-rc.0~27681 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=7baf63be5231a39cc1345fad8cc4875f9c503a4b;p=lhc%2Fweb%2Fwiklou.git There was a double space between log action text and user comment. Remove the space produced by linker. --- diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index d066047010..4a73ec677c 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -251,8 +251,9 @@ class LogFormatter { * @return string HTML */ public function getComment() { - $lang = $this->context->getLang(); - $element = $lang->getDirMark() . Linker::commentBlock( $this->entry->getComment() ); + $comment = Linker::commentBlock( $this->entry->getComment() ); + // No hard coded spaces thanx + $element = ltrim( $comment ); if ( $this->entry->isDeleted( LogPage::DELETED_COMMENT ) ) { $element = self::getRestrictedElement( 'rev-deleted-comment' );