class Nokogiri::XML::Node

def to_format(save_option, options)

def to_format(save_option, options)
  return dump_html if USING_LIBXML_WITH_BROKEN_SERIALIZATION
  options[:save_with] = save_option unless options[:save_with]
  serialize(options)
end