Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1034,7 +1034,7 @@ |
1035 | 1035 | // Older browsers show a "speedtip" type message only for ALT. |
1036 | 1036 | // Ideally these should be different, realistically they |
1037 | 1037 | // probably don't need to be. |
1038 | | - $tip = addslashes( $tool['tip'] ); |
| 1038 | + $tip = wfEscapeJsString( $tool['tip'] ); |
1039 | 1039 | |
1040 | 1040 | #$key = $tool["key"]; |
1041 | 1041 | |