Fix override target in insert-element-for-node method
there is no override target per default.
This commit is contained in:
@@ -401,7 +401,7 @@
|
||||
- (HTMLElement *)insertElementForToken:(HTMLTagToken *)token
|
||||
{
|
||||
HTMLElement *element = [self createElementForToken:token inNamespace:HTMLNamespaceHTML];
|
||||
HTMLNode *adjustedInsertionLocation = [self appropriatePlaceForInsertingANodeWithOverrideTarget:element];
|
||||
HTMLNode *adjustedInsertionLocation = [self appropriatePlaceForInsertingANodeWithOverrideTarget:nil];
|
||||
[adjustedInsertionLocation appendChildNode:element];
|
||||
[_stackOfOpenElements addObject:element];
|
||||
return element;
|
||||
|
||||
Reference in New Issue
Block a user