class Nokogiri::XML::Node

def inner_html= tags

Set the inner_html for this Node to +tags+
###
def inner_html= tags
  children.each { |x| x.remove}
  fragment(tags).children.to_a.reverse.each do |node|
    add_child node
  end
  self
end