# File lib/nokogiri/xml/node.rb, line 764
      def to_xhtml options = {}
        # FIXME: this is a hack around broken libxml versions
        return dump_html if %w[2 6] === LIBXML_VERSION.split('.')[0..1]

        options[:save_with] ||= SaveOptions::DEFAULT_XHTML
        serialize(options)
      end