From 412d71adf520925a23b6d81ce4922167b09fcc6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 7 Jan 2012 09:56:14 +0000 Subject: [PATCH] Don't expand templates in html . This seems to have regressed some time ago. --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index ee1ee4f8ef..70d0dd75d8 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -813,7 +813,7 @@ class OutputPage extends ContextSource { $this->mPagetitle = $nameWithTags; # change "<i>foo&bar</i>" to "foo&bar" - $this->setHTMLTitle( $this->msg( 'pagetitle', Sanitizer::stripAllTags( $nameWithTags ) ) ); + $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( htmlspecialchars( Sanitizer::stripAllTags( $nameWithTags ) ) ) ); } /** -- 2.20.1