Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -813,7 +813,7 @@ |
814 | 814 | $this->mPagetitle = $nameWithTags; |
815 | 815 | |
816 | 816 | # change "<i>foo&bar</i>" to "foo&bar" |
817 | | - $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( htmlspecialchars( Sanitizer::stripAllTags( $nameWithTags ) ) ) ); |
| 817 | + $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( Sanitizer::stripAllTags( $nameWithTags ) )->escaped() ); |
818 | 818 | } |
819 | 819 | |
820 | 820 | /** |