Fix token-cast when adjusting the foreign attributes for token

This commit is contained in:
iska
2015-04-11 00:42:07 +02:00
parent 2a2a21d1fa
commit bf30dd85b9
+1 -1
View File
@@ -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];