Re: Re: QF frozen textarea

From: Date: Tue, 27 Apr 2004 13:00:12 +0000
Subject: Re: Re: QF frozen textarea
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12160@lists.php.net to get a copy of this message
<nix@daniu.de> wrote : > Hi > > Daniel Kopp 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? >> >> Any idea to deal with this in another way - any workaround? Is >> using <pre> really the only way so far ... arrrrg > > And - I also tried \r\n now which did not help ... Line 214 of textarea reads : $html = nl2br($value)."\n"; If wrap != off So this should already be dealt with. Bertrand Mansion Mamasam

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