class Nokogiri::XML::Node

def to_html(options = {})

use Node#to_xhtml instead.
See Node#write_to for a list of +options+. For formatted output,

doc.to_html

Serialize this Node to HTML
##
def to_html(options = {})
  to_format(SaveOptions::DEFAULT_HTML, options)
end