Re: Quickform: textarea display still

From: Date: Fri, 28 Feb 2003 08:04:57 +0000
Subject: Re: Quickform: textarea display still
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3998@lists.php.net to get a copy of this message
<dan@acucore.com> wrote : > What is the purpose of the str_replace in the following line of code: > > $html = nl2br(str_replace(' ', '&nbsp;', $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. Damn, you should really learn how to be polite: say 'hi', say 'please', say 'thank you'. Bertrand Mansion Mamasam

« previous php.pear.general (#3998) next »