From e5738cc48fc7a299d36891f84df2c739b7a07e79 Mon Sep 17 00:00:00 2001 From: iska Date: Sun, 5 Apr 2015 17:58:39 +0200 Subject: [PATCH] Fix "in-table-row" phase's common case Clear back to table-row context instead of table --- HTMLKit/HTMLParser.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTMLKit/HTMLParser.m b/HTMLKit/HTMLParser.m index 456ce2b..b8861c6 100644 --- a/HTMLKit/HTMLParser.m +++ b/HTMLKit/HTMLParser.m @@ -1858,7 +1858,7 @@ [self emitParseError:@"Unexpected Tag Token (%@) for element (%@) in ", token.asTagToken.tagName, elementTagName]; return; } else { - [_stackOfOpenElements clearBackToTableContext]; + [_stackOfOpenElements clearBackToTableRowContext]; [_stackOfOpenElements popCurrentNode]; [self switchInsertionMode:HTMLInsertionModeInTableBody]; }