# File lib/html5/html5parser/in_head_phase.rb, line 92 def endTagHead(name) if @tree.open_elements.last.name == 'head' @tree.open_elements.pop else parse_error("unexpected-end-tag", {"name" => "head"}) end @parser.phase = @parser.phases[:afterHead] end