Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -884,7 +884,7 @@ |
885 | 885 | if ( $resultsShown > 0 ) { |
886 | 886 | if ( $totalNum > 0 ){ |
887 | 887 | $top = wfMsgExt('showingresultsheader', array( 'parseinline' ), |
888 | | - $this->offset+1, $this->offset+$resultsShown, $totalNum, $term, $resultsShown ); |
| 888 | + $this->offset+1, $this->offset+$resultsShown, $totalNum, wfEscapeWikiText($term), $resultsShown ); |
889 | 889 | } elseif ( $resultsShown >= $this->limit ) { |
890 | 890 | $top = wfShowingResults( $this->offset, $this->limit ); |
891 | 891 | } else { |