[development] Strip_tags and JS
nan_wich at bellsouth.net
Thu Jun 10 21:45:32 UTC 2010
Thank you, Jamie. I had already started building a filter and you statement worked better than my big loop.
Nancy E. Wichmann, PMP
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Jamie Holly <hovercrafter at earthlink.net>
To: development at drupal.org
Sent: Thu, June 10, 2010 3:39:19 PM
Subject: Re: [development] Strip_tags and JS
$text= preg_replace('/<script.*?<\/script>/xmsi', '', $text) should do the trick.
On 6/10/2010 3:10 PM, nan wich wrote:
>Nancy E. Wichmann, PMP
>Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development