From bf30dd85b96ce57afad26a9a63c8a547273f8903 Mon Sep 17 00:00:00 2001 From: iska Date: Sat, 11 Apr 2015 00:42:07 +0200 Subject: [PATCH] Fix token-cast when adjusting the foreign attributes for token --- HTMLKit/HTMLParser.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTMLKit/HTMLParser.m b/HTMLKit/HTMLParser.m index e6f7863..55589c4 100644 --- a/HTMLKit/HTMLParser.m +++ b/HTMLKit/HTMLParser.m @@ -2375,7 +2375,7 @@ AdjustSVGNameCase(token.asTagToken); AdjustSVGAttributes(token.asTagToken); } - AdjustForeignAttributes(token); + AdjustForeignAttributes(token.asTagToken); [self insertForeignElementForToken:token.asTagToken inNamespace:self.adjustedCurrentNode.htmlNamespace]; if (token.asTagToken.selfClosing) { [_stackOfOpenElements popCurrentNode];