Fix Attribute Name state to prevent finalising a pending attribute name before it's finished

This commit is contained in:
iska
2014-11-01 22:05:22 +01:00
parent e8c74da8e2
commit 97df7c5dd8
-1
View File
@@ -1300,7 +1300,6 @@
[self emitCurrentTagToken];
return;
case LATIN_CAPITAL_LETTER_A ... LATIN_CAPITAL_LETTER_Z:
[self finalizeCurrentAttribute];
[self appendToCurrentAttributeName:StringFromUniChar(character + 0x0020)];
[self switchToState:HTMLTokenizerStateAttributeName];
return;