From: Alexandre Emsenhuber Date: Fri, 13 Jan 2012 13:30:58 +0000 (+0000) Subject: Fix for r108376: the whole string is already espcaed on output, no need to escape... X-Git-Tag: 1.31.0-rc.0~25305 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=626480bcd1fffc97048441abf6f33872602f61b1;p=lhc%2Fweb%2Fwiklou.git Fix for r108376: the whole string is already espcaed on output, no need to escape it twice --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 4114efc413..b9d46b4d17 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -813,7 +813,7 @@ class OutputPage extends ContextSource { $this->mPagetitle = $nameWithTags; # change "foo&bar" to "foo&bar" - $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( Sanitizer::stripAllTags( $nameWithTags ) )->escaped() ); + $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( Sanitizer::stripAllTags( $nameWithTags ) ) ); } /**