From: Aljaz Fajmut Date: 2009-10-23T03:03:26+09:00 Subject: sanitizing html tags (content) Hello, I have a variable which holds the following html code: some textlink .. Now I'd like to process it so that everything would be stripped except object/param/embed tags (span tag and its content should be removed). What is the best way to compliment that? I've installed sanitize gem but it wont allow me to strip/remove content inside html tags as well. I though of regex but I'm unsure about this. Many thanks for help! -- Posted via http://www.ruby-forum.com/.