From cf814a87c6116caabac31e14fc9fafdbf4043888 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 16 Apr 2008 17:40:47 +0000 Subject: [PATCH] Cleanup for r33429 - fix double-escaping --- includes/ProtectionForm.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() { -- 2.20.1