logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: HTML_QuickForm - Bugfix for textarea: msg#00849

Subject: Re: HTML_QuickForm - Bugfix for textarea
Bertrand Mansion schrieb in php.pear.dev:

> 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.

Can you give me a sample? I'll try this.

BTW: The reason for selecting htmlentities() was, that it is currently used 
for <input value="text" ...> (via HTML_Common).


> 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.

I do this with htmlentities()/htmlspecialchars() and can't see any problems 
related to QuickForm. The Database contains what the user see in textarea.

Thomas.

-- 
http://4bconsult.de

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>