Quickform Textarea and htmlspecialchars
| From: | Dan Wilson | Date: | Tue, 18 Feb 2003 19:57:14 +0000 |
| Subject: | Quickform Textarea and htmlspecialchars | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3818@lists.php.net to get a copy of this message | ||
So I have a form element that is supposed to be several URLs... so when I
freeze the form, I would like a URL converted to an hyperlink so it is then
clickable.
Here's my problem... the textarea automatically does an htmlspecialchars call
in the toHTML function. I really don't want that so I can convert that into
HTML for display purposes only (once the form is submitted).
I think that call to htmlspecialchars should be optional... perhaps make it a
filter or some sort, but it should not be mandatory on a textarea.
-Dan