Re: HTML_QuickForm - Bugfix for textarea

From: Date: Fri, 29 Nov 2002 13:17:42 +0000
Subject: Re: HTML_QuickForm - Bugfix for textarea
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11251@lists.php.net to get a copy of this message
<ths@4bconsult.de> wrote : > I use HTML_QuickForm and have the problem, that values in <textarea> > currently not would escaped by htmlentities(). > > Package-Versions: > HTML_Common 1.0 > (also try the actual HTML_Common/Common.php from cvs.php.net) > HTML_QuickForm 2.5 This issue is not simple. There are certain characters that users don't want to be translated into their html counterparts, so I think we should use htmlspecialchars instead of htmlentities. Now the problem comes when you want to allow html tags in your textarea and store its content as such in your DB or files. If someone could come with a good solution, I'm taker. Bertrand Mansion Mamasam

« previous php.pear.dev (#11251) next »