From 7baf63be5231a39cc1345fad8cc4875f9c503a4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 14 Sep 2011 08:30:11 +0000 Subject: [PATCH] There was a double space between log action text and user comment. Remove the space produced by linker. --- includes/logging/LogFormatter.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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' ); -- 2.20.1