Fix assignment for the character token in the "in table" phase
This commit is contained in:
@@ -1544,7 +1544,7 @@
|
||||
switch (token.type) {
|
||||
case HTMLTokenTypeCharacter:
|
||||
if ([self.currentNode.tagName isEqualToAny:@"table", @"tbody", @"thead", @"tr", nil]) {
|
||||
_pendingTableCharacterTokens.characters = @"";
|
||||
_pendingTableCharacterTokens = [[HTMLCharacterToken alloc] initWithString:@""];
|
||||
_originalInsertionMode = _insertionMode;
|
||||
[self switchInsertionMode:HTMLInsertionModeInTableText];
|
||||
[self reprocessToken:token];
|
||||
|
||||
Reference in New Issue
Block a user