diff options
-rwxr-xr-x | usr/local/www/edit.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index a634d21..6d7bbaa 100755 --- a/usr/local/www/edit.php +++ b/usr/local/www/edit.php @@ -154,7 +154,7 @@ function sf() { document.forms[0].savetopath.focus(); } </tr> <tr> <td valign="top" class="label"> - <textarea rows="<?php echo $rows; ?>" cols="<?php echo $cols; ?>" name="content"><?php echo $content; ?></textarea><br> + <textarea rows="<?php echo $rows; ?>" cols="<?php echo $cols; ?>" name="content"><?php echo htmlentities($content); ?></textarea><br> <p> </td> </tr> @@ -167,5 +167,4 @@ function sf() { document.forms[0].savetopath.focus(); } <script language="Javascript"> sf(); -</script> - +</script>
\ No newline at end of file |