Method: HTML5::XHTMLParser#initialize

Defined in:
lib/html5/liberalxmlparser.rb

#initialize(options = {}) ⇒ XHTMLParser

Returns a new instance of XHTMLParser.



71
72
73
74
75
# File 'lib/html5/liberalxmlparser.rb', line 71

def initialize(options = {})
  super options
  @phases[:initial] = InitialPhase.new(self, @tree)
  @phases[:beforeHtml] = XhmlRootPhase.new(self, @tree)
end