From 8a181710efcaf7e275c24ecbd77a054a585cff20 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Thu, 29 May 2014 19:23:11 +0200 Subject: [PATCH] Change message escaping on ImagePage by Nikerabbit on I2a91f0ef1cf82360da2d17c7dc42633ae3e79100 Change-Id: I96c42974a2bc435abd65e9b1e8daba6cc9669409 --- includes/ImagePage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 5f385acf6a..60db2025c2 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -1301,9 +1301,9 @@ class ImageHistoryList extends ContextSource { // Image dimensions + size $row .= ''; $row .= htmlspecialchars( $file->getDimensionsString() ); - $row .= $this->msg( 'word-separator' )->plain(); + $row .= $this->msg( 'word-separator' )->escaped(); $row .= ''; - $row .= $this->msg( 'parentheses' )->sizeParams( $file->getSize() )->plain(); + $row .= $this->msg( 'parentheses' )->sizeParams( $file->getSize() )->escaped(); $row .= ''; $row .= ''; @@ -1316,7 +1316,7 @@ class ImageHistoryList extends ContextSource { } else { if ( $local ) { $row .= Linker::userLink( $userId, $userText ); - $row .= $this->msg( 'word-separator' )->plain(); + $row .= $this->msg( 'word-separator' )->escaped(); $row .= ''; $row .= Linker::userToolLinks( $userId, $userText ); $row .= ''; -- 2.20.1