Strip out ALL javascript from HTML source

Hi.

I’ve got a bit of an issue where I have an input source of HTML source that
anyone can use. I need to strip out all javascript. Attributes, links tags
etc.

At this stage I’m thinking Hpricot is the go. I guess I’m hoping there is
someone out there that has done this and is willing to share.

Cheers
Daniel

···

–~--~---------~–~----~------------~-------~–~----~
You received this message because you are subscribed to the Google Groups “Ruby on Rails: Talk” group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~–~—