module Nokogiri::HTML4

💡 This module/namespace is an alias for Nokogiri::HTML4 as of v1.12.0. Before v1.12.0,

Nokogiri::HTML4 did not exist, and this was the module/namespace for all HTML-related
classes.

Since v1.12.0

💡 Before v1.12.0, Nokogiri::HTML4 did not exist, and Nokogiri::HTML was the module/namespace for parsing HTML.

Constants

NamedCharacters

Instance of Nokogiri::HTML4::EntityLookup

Public Class Methods

fragment(...) click to toggle source

Convenience method for Nokogiri::HTML4::DocumentFragment.parse

# File lib/nokogiri/html4.rb, line 24
def fragment(...)
  HTML4::DocumentFragment.parse(...)
end
parse(...) click to toggle source

Convenience method for Nokogiri::HTML4::Document.parse

# File lib/nokogiri/html4.rb, line 19
def parse(...)
  Document.parse(...)
end