# File lib/html5/html5parser/in_select_phase.rb, line 16 def startTagOption(name, attributes) # We need to imply </option> if <option> is the current node. @tree.open_elements.pop if @tree.open_elements.last.name == 'option' @tree.insert_element(name, attributes) end