module Hpricot::Node

def if_output(opts)

def if_output(opts)
  if opts[:preserve] and not raw_string.nil?
    raw_string
  else
    yield opts
  end
end