Parent

Class/Module Index [+]

Quicksearch

HTML5::XhmlRootPhase

Public Instance Methods

insert_html_element() click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/liberalxmlparser.rb, line 105
def insert_html_element
  element = @tree.createElement("html", {'xmlns' => 'http://www.w3.org/1999/xhtml'})
  @tree.open_elements.push(element)
  @tree.document.appendChild(element)
  @parser.phase = @parser.phases[:beforeHead]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.