From: MatmaRex Date: Fri, 26 Oct 2012 21:04:01 +0000 (+0200) Subject: fix sidebar HTML escaping in CologneBlue (again) X-Git-Tag: 1.31.0-rc.0~21844^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=297508535a300f63a0667084d232d736c6964647;p=lhc%2Fweb%2Fwiklou.git fix sidebar HTML escaping in CologneBlue (again) Followup to I6df92c62. Change-Id: If9394a6223da987dc363057e276c7f754acc06a8 --- diff --git a/skins/CologneBlue.php b/skins/CologneBlue.php index 68d92ce1e1..4a03aa09bc 100644 --- a/skins/CologneBlue.php +++ b/skins/CologneBlue.php @@ -647,7 +647,7 @@ class CologneBlueTemplate extends BaseTemplate { $headingMsg = wfMessage( $heading ); $any_link = false; - $t = $this->menuHead( $headingMsg->exists() ? $headingMsg->text() : htmlspecialchars( $heading ) ); + $t = $this->menuHead( $headingMsg->exists() ? $headingMsg->escaped() : htmlspecialchars( $heading ) ); foreach ( $links as $key => $link ) { // Can be empty due to rampant sidebar massaging we're doing above