module Nokogiri

def self.HTML5(input, url = nil, encoding = nil, **options, &block)

Parse an HTML5 document. Convenience method for {Nokogiri::HTML5::Document.parse}

⚠ HTML5 functionality is not available when running JRuby.

Since v1.12.0
def self.HTML5(input, url = nil, encoding = nil, **options, &block)
  Nokogiri::HTML5::Document.parse(input, url, encoding, **options, &block)
end