module Nokogiri::HTML5::Node

def fragment(tags)

def fragment(tags)
  return super unless document.is_a?(HTML5::Document)
  DocumentFragment.new(document, tags, self)
end