Re: Re: QF frozen textarea
| From: | Daniel Kopp | Date: | Tue, 27 Apr 2004 13:20:11 +0000 |
| Subject: | Re: Re: QF frozen textarea | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12162@lists.php.net to get a copy of this message | ||
Hi!
Bertrand Mansion wrote:
> <nix@daniu.de> wrote :
>
>>> I would like to output a frozen textarea-box and I would like to
>>> get line breaks in these textboxes.
>>>
>>> How can I do that? \n produces linebreaks in html which does not
>>> mean anything and <br> produces <br> in the output?
>>>
>>> I think it would be a good idea to translate \n to <br> upon
>>> freezing a textarea. Is that worth a bugreport?
>
> Line 214 of textarea reads :
>
> $html = nl2br($value)."\n";
>
> If wrap != off
> So this should already be dealt with.
Sorry ... my mistake ... I did not use textarea but text ...
Sorry for wasting your time!
Daniel