/ Published in: Ruby
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
doc = Nokogiri::HTML(your_html) doc.xpath("//text()").remove
Comments
Subscribe to comments
