# File lib/html5/html5parser/in_table_phase.rb, line 69 def endTagTable(name) if in_scope?('table', true) @tree.generateImpliedEndTags unless @tree.open_elements.last.name == 'table' parse_error("end-tag-too-early-named", {"gotName" => "table", "expectedName" => @tree.open_elements.last.name}) end remove_open_elements_until('table') @parser.reset_insertion_mode else # inner_html case assert @parser.inner_html parse_error end end