From af8164814d7190b690e1c216b51a4e0a13d5b96e Mon Sep 17 00:00:00 2001 From: bsitu Date: Mon, 1 Apr 2013 15:40:22 -0700 Subject: [PATCH] Attribute value is double escaped Change-Id: Ibf2e1f9cae5c30ed0871de3ad3598b1bd13094ec Html::element() already escapes attribuate values, there is no need to escape it explicitly again --- Thanks.hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Thanks.hooks.php b/Thanks.hooks.php index 4e64f604..eb2ef533 100644 --- a/Thanks.hooks.php +++ b/Thanks.hooks.php @@ -35,7 +35,7 @@ class ThanksHooks { } if ( $recipientAllowed && !$recipient->isAnon() ) { // Add 'thank' link - $tooltip = wfMessage( 'thanks-thank-tooltip' )->escaped(); + $tooltip = wfMessage( 'thanks-thank-tooltip' )->text(); $thankLink = Html::element( 'a', array(