Is it possible to convert HTML with Nokogiri to plain text? I also want to include tag.
For example, given this HTML:
Try
Nokogiri::HTML(my_html.gsub('',"\n")).text