module Nokogiri

Public Class Methods

HTML5(string) click to toggle source

Parse an HTML document. string contains the document. string may also be an IO-like object. Returns a Nokogiri::HTML::Document.

# File lib/nokogumbo.rb, line 7
def self.HTML5(string)
  Nokogiri::HTML5.parse(string)
end