module Hpricot::Traverse

def before(html = nil, &blk)

Adds elements immediately before this element, contained in the +html+ string.
def before(html = nil, &blk)
  parent.insert_before(make(html, &blk), self)
end