# File lib/html5/html5parser/in_caption_phase.rb, line 20 def startTagTableElement(name, attributes) parse_error "unexpected-end-tag", {"name" => name} #XXX Have to duplicate logic here to find out if the tag is ignored ignoreEndTag = ignoreEndTagCaption @parser.phase.processEndTag('caption') @parser.phase.processStartTag(name, attributes) unless ignoreEndTag end