class Nokogiri::XML::Node

def write_html_to io, encoding = nil

Write Node as HTML to +io+ with +encoding+
##
def write_html_to io, encoding = nil
  write_to io, encoding, SaveOptions::FORMAT |
    SaveOptions::NO_DECLARATION |
    SaveOptions::NO_EMPTY_TAGS |
    SaveOptions::AS_HTML
end