Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
require 'hpricot' doc = Hpricot("<p>A simple <b>test</b> string.<img src='http://google.com/image.jpg' /></p>") doc.search("img").remove doc.to_s
This paste will be private.
From the Design Piracy series on my blog: