From 35dc624016167f1c0f18a1acc8cf0073551104f3 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Fri, 14 Mar 2008 08:49:41 +0000 Subject: [PATCH] Oops, escape the output too. Thanks to Nikerabbit :) --- includes/SpecialSearch.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index f040c07270..e20d8389c2 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -360,7 +360,7 @@ class SpecialSearch { } $text = $revision->getText(); - $size = wfMsgExt( 'search-result-size', array( 'parsemag' ), + $size = wfMsgExt( 'search-result-size', array( 'parsemag', 'escape' ), $sk->formatSize( strlen( $text ) ), str_word_count( $text ) ); $date = $wgLang->timeanddate( $revision->getTimestamp() ); @@ -517,5 +517,3 @@ class SpecialSearch { return $out; } } - - -- 2.20.1