123456789_123456789_123456789_123456789_123456789_

Module: Nokogiri::HTML4

Overview

Since v1.12.0

šŸ’” Before v1.12.0, HTML4 did not exist, and HTML was the module/namespace for parsing HTML.

Constant Summary

Class Method Summary

Class Method Details

.fragment

Parse a fragment from string in to a NodeSet.

[ GitHub ]

  
# File 'lib/nokogiri/html4.rb', line 26

def fragment(...)
  HTML4::DocumentFragment.parse(...)
end

.parse

Parse HTML. Convenience method for Document.parse

[ GitHub ]

  
# File 'lib/nokogiri/html4.rb', line 20

def parse(...)
  Document.parse(...)
end