From: Brion Vibber Date: Wed, 16 Apr 2008 17:40:47 +0000 (+0000) Subject: Cleanup for r33429 - fix double-escaping X-Git-Tag: 1.31.0-rc.0~48265 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=cf814a87c6116caabac31e14fc9fafdbf4043888;p=lhc%2Fweb%2Fwiklou.git Cleanup for r33429 - fix double-escaping --- diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 27437d2ec0..6f57bc2547 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -350,7 +350,9 @@ class ProtectionForm { function buildScript() { global $wgStylePath, $wgStyleVersion; - return Xml::tags( 'script', array( 'type' => 'text/javascript', 'src' => htmlspecialchars( $wgStylePath . "/common/protect.js?$wgStyleVersion" ) ), '' ); + return Xml::tags( 'script', array( + 'type' => 'text/javascript', + 'src' => $wgStylePath . "/common/protect.js?$wgStyleVersion" ), '' ); } function buildCleanupScript() {