Fix "in-table-row" phase's common case

Clear back to table-row context instead of table
This commit is contained in:
iska
2015-04-05 17:58:39 +02:00
parent b65d602d12
commit e5738cc48f
+1 -1
View File
@@ -1858,7 +1858,7 @@
[self emitParseError:@"Unexpected Tag Token (%@) for element (%@) in <tr>", token.asTagToken.tagName, elementTagName];
return;
} else {
[_stackOfOpenElements clearBackToTableContext];
[_stackOfOpenElements clearBackToTableRowContext];
[_stackOfOpenElements popCurrentNode];
[self switchInsertionMode:HTMLInsertionModeInTableBody];
}