Closed stevecheckoway closed 6 years ago
There are four basic APIs
Nokogiri::HTML5.fragment(tags)
Nokogiri::HTML5::DocumentFragment.new(doc, tags, ctx = nil)
Nokogiri::HTML5::Document#fragment
Nokogiri::XML::Node#fragment
The last creates a fragment using node as the context element.
There are four basic APIs
Nokogiri::HTML5.fragment(tags)
Nokogiri::HTML5::DocumentFragment.new(doc, tags, ctx = nil)
Nokogiri::HTML5::Document#fragment
Nokogiri::XML::Node#fragment
The last creates a fragment using node as the context element.