From: Brion Vibber Date: Sat, 30 Apr 2005 09:13:44 +0000 (+0000) Subject: Forgot one of the wfEscapeJsString()s X-Git-Tag: 1.5.0alpha1~50 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=cd4bb80e487ca73404be90ea9fd6a901d394e800;p=lhc%2Fweb%2Fwiklou.git Forgot one of the wfEscapeJsString()s --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 4f3d6333d5..7406f01432 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1034,7 +1034,7 @@ END // Older browsers show a "speedtip" type message only for ALT. // Ideally these should be different, realistically they // probably don't need to be. - $tip = addslashes( $tool['tip'] ); + $tip = wfEscapeJsString( $tool['tip'] ); #$key = $tool["key"];