com web/master: And now fix the textarea editor display, and that should do it.: manage/user-notes.php
| From: | Daniel P. Brown | Date: | Thu, 10 May 2012 18:57:57 +0000 |
| Subject: | com web/master: And now fix the textarea editor display, and that should do it.: manage/user-notes.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13510@lists.php.net to get a copy of this message | ||
Commit: ed1c23b85911a6c41ba9346b4d05260a5fa55dbe
Author: Daniel P. Brown <danbrown@php.net> Thu, 10 May 2012 14:57:57 -0400
Parents: ebb20343b3e7f1c80533b04ecc778015ce77fa80
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=ed1c23b85911a6c41ba9346b4d05260a5fa55dbe
Log:
And now fix the textarea editor display, and that should do it.
Changed paths:
M manage/user-notes..php
Diff:
diff --git a/manage/user-notes.php b/manage/user-notes..php
index 267c324..bd68fa9 100644
--- a/manage/user-notes.php
+++ b/manage/user-notes.php
@@ -335,7 +335,7 @@ case 'edit':
<td><input type="text" name="email" value="<?=
escape($email) ?>" size="30" maxlength="80" /></td>
</tr>
<tr>
- <td colspan="2"><textarea name="note" cols="70"
rows="15"><?= escape($note) ?></textarea></td>
+ <td colspan="2"><textarea name="note" cols="70"
rows="15"><?= stripslashes(clean($note)) ?></textarea></td>
</tr>
<tr>
<td align="center" colspan="2">