Rewrite pick_apart_non_inline_html in a non-functional style because Enumerable#chunk is not available in Ruby 1.8.7