Fix several state switches for Attribute states

Question Mark character was use instead of Quotation Mark
This commit is contained in:
iska
2014-10-31 00:11:31 +01:00
parent d5ff28b1de
commit 8a2422426e
+3 -3
View File
@@ -1250,7 +1250,7 @@
[self appendToCurrentAttributeName:StringFromUniChar(REPLACEMENT_CHAR)];
[self switchToState:HTMLTokenizerStateAttributeName];
return;
case QUESTION_MARK:
case QUOTATION_MARK:
case APOSTROPHE:
case LESS_THAN_SIGN:
case EQUALS_SIGN:
@@ -1298,7 +1298,7 @@
[self finalizeCurrentAttribute];
[self appendToCurrentAttributeName:StringFromUniChar(REPLACEMENT_CHAR)];
return;
case QUESTION_MARK:
case QUOTATION_MARK:
case APOSTROPHE:
case LESS_THAN_SIGN:
[self emitParseError:@"Unexpected character (%C) in Before Attribute Name state", (unichar)character];
@@ -1342,7 +1342,7 @@
[self finalizeCurrentAttribute];
[self appendToCurrentAttributeName:StringFromUniChar(REPLACEMENT_CHAR)];
return;
case QUESTION_MARK:
case QUOTATION_MARK:
case APOSTROPHE:
case LESS_THAN_SIGN:
[self emitParseError:@"Unexpected character (%C) in Before Attribute Name state", (unichar)character];