# File lib/html5/html5parser/in_table_phase.rb, line 104 def clearStackToTableContext # "clear the stack back to a table context" until %w[table 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 # When the current node is <html> it's an inner_html case end