class Nokogiri::XML::Node
def inner_html=(node_or_tags)
parse the string as XML using XML::DocumentFragment.
using HTML4::DocumentFragment; but if the document is an XML::Document then it will
For example, if the document is an HTML4::Document then the string will be parsed as HTML4
node's document.
as HTML. A String argument will be parsed with the +DocumentFragment+ parser related to this
⚠ Please note that despite the name, this method will *not* always parse a String argument
containing markup.
+node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a String
Set the content for this Node to +node_or_tags+.
###
def inner_html=(node_or_tags) self.children = node_or_tags end