Fix for r108376: the whole string is already espcaed on output, no need to escape...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 13 Jan 2012 13:30:58 +0000 (13:30 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 13 Jan 2012 13:30:58 +0000 (13:30 +0000)
includes/OutputPage.php

index 4114efc..b9d46b4 100644 (file)
@@ -813,7 +813,7 @@ class OutputPage extends ContextSource {
                $this->mPagetitle = $nameWithTags;
 
                # change "<i>foo&amp;bar</i>" to "foo&bar"
-               $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( Sanitizer::stripAllTags( $nameWithTags ) )->escaped() );
+               $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( Sanitizer::stripAllTags( $nameWithTags ) ) );
        }
 
        /**