Namespace
Methods
F
P
Constants
NamedCharacters = EntityLookup.new
 

Instance of Nokogiri::HTML::EntityLookup

Class Public methods
fragment(string, encoding = nil)

Parse a fragment from string in to a NodeSet.

# File lib/nokogiri/html.rb, line 29
def fragment string, encoding = nil
  HTML::DocumentFragment.parse string, encoding
end
parse(thing, url = nil, encoding = nil, options = XML::ParseOptions::DEFAULT_HTML, &block)

Parse HTML. Convenience method for Nokogiri::HTML::Document.parse

# File lib/nokogiri/html.rb, line 23
def parse thing, url = nil, encoding = nil, options = XML::ParseOptions::DEFAULT_HTML, &block
  Document.parse(thing, url, encoding, options, &block)
end