Quickform: textarea display still
| From: | Dan Wilson | Date: | Thu, 27 Feb 2003 21:02:40 +0000 |
| Subject: | Quickform: textarea display still | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3991@lists.php.net to get a copy of this message | ||
What is the purpose of the str_replace in the following line of code:
$html = nl2br(str_replace(' ', ' ', $value))."\n";
This is from HTML/QuickForm/textarea.php, line 228... within the getFrozenHTML
It's the same thing as creating a nowrap. I want to be able to wrap that text
when displaying it, and this code doesn't allow that.
For right now, I've commented it out, but I don't want to have to do that each
time I upgrade HTML_QuickForm.
-Dan