We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4822712 commit f06451eCopy full SHA for f06451e
html5lib/_tokenizer.py
@@ -936,6 +936,7 @@ def attributeNameState(self):
936
self.currentToken["data"][-1][0] += data
937
leavingThisState = False
938
939
+ assert leavingThisState == ((self._state != self.attributeNameState) or emitToken)
940
if leavingThisState:
941
# Attributes are not dropped at this stage. That happens when the
942
# start tag token is emitted so values can still be safely appended
0 commit comments