How can I remove tags using Nokogiri?
I have the following code but it wont work:
# str = \'
have a try!
f = Nokogiri::XML.fragment(str) f.search('.//img').remove puts f