[development] Strip_tags and JS
Andrew Berry
andrewberry at sentex.net
Thu Jun 10 21:58:39 UTC 2010
On 10/06/2010 3:39 PM, Jamie Holly wrote:
> $text= preg_replace('/<script.*?<\/script>/xmsi', '', $text) should do
> the trick.
Might also consider filter_xss($string, array());
--Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100610/c893b1a4/attachment.html
More information about the development
mailing list