# File lib/html5/html5parser/in_table_body_phase.rb, line 77 def clearStackToTableBodyContext until %w[tbody tfoot thead html].include?(name = @tree.open_elements.last.name) parse_error("unexpected-implied-end-tag-in-table", {"name" => @tree.open_elements.last.name}) @tree.open_elements.pop end end