Method: Nokogiri::XML::Node#to_html
- Defined in:
- lib/nokogiri/xml/node.rb
#to_html(options = {}) ⇒ Object
Serialize this Node to HTML
doc.to_html
See Node#write_to for a list of options
. For formatted output, use Node#to_xhtml instead.
1391 1392 1393 |
# File 'lib/nokogiri/xml/node.rb', line 1391 def to_html( = {}) to_format(SaveOptions::DEFAULT_HTML, ) end |