Cleanup for r33429 - fix double-escaping
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 16 Apr 2008 17:40:47 +0000 (17:40 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 16 Apr 2008 17:40:47 +0000 (17:40 +0000)
includes/ProtectionForm.php

index 27437d2..6f57bc2 100644 (file)
@@ -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() {