From: Raimond Spekking Date: Fri, 14 Mar 2008 08:49:41 +0000 (+0000) Subject: Oops, escape the output too. Thanks to Nikerabbit :) X-Git-Tag: 1.31.0-rc.0~49114 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=35dc624016167f1c0f18a1acc8cf0073551104f3;p=lhc%2Fweb%2Fwiklou.git Oops, escape the output too. Thanks to Nikerabbit :) --- 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; } } - -