plugins/SpecialUserPrefs.php
changeset 74 68469a95658d
parent 36 425261984266
child 85 7c68a18a27be
--- a/plugins/SpecialUserPrefs.php	Sat Jul 21 18:12:10 2007 -0400
+++ b/plugins/SpecialUserPrefs.php	Wed Jul 25 18:06:34 2007 -0400
@@ -399,7 +399,7 @@
         echo '<div class="info-box" style="margin: 0 0 10px 0;">Your signature has been saved.</div>';
       }
       echo '<form action="'.makeUrl($paths->fullpage).'" method="post">';
-      echo $template->tinymce_textarea('new_sig', $session->signature);
+      echo $template->tinymce_textarea('new_sig', htmlspecialchars($session->signature));
       echo '<input type="submit" value="Save signature" />';
       echo '</form>';
       break;