4525: Sanitize all input fields to disallow XSS. All the input field that most likel...
[acontent.git] / docs / tests / form_editor.php
index 55b53a0..3d9c0da 100644 (file)
@@ -94,7 +94,7 @@ function init() {
                </tr>\r
                <tr>\r
                        <td colspan="2" valign="top" align="center" class="row1">\r
-                               <input type="button" name="paste"  value="<?php echo _AT('paste');  ?>" class="button" onclick="javascript:insertTo('<?php echo $area; ?>');" />\r
+                               <input type="button" name="paste"  value="<?php echo _AT('paste');  ?>" class="button" onclick="javascript:insertTo('<?php echo AT_print($area, 'input.text'); ?>');" />\r
                        </td>\r
                </tr>\r
        </table>\r