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 52121ff commit dfc849fCopy full SHA for dfc849f
src/html5lib/constants.py
@@ -100,8 +100,6 @@
100
_(u"Unexpected end of DOCTYPE."),
101
"unexpected-char-in-doctype":
102
_(u"Unexpected character in DOCTYPE."),
103
- "eof-in-bogus-doctype":
104
- _(u"Unexpected end of file in bogus doctype."),
105
"eof-in-innerhtml":
106
_(u"XXX innerHTML EOF"),
107
"unexpected-doctype":
src/html5lib/tokenizer.py
@@ -1090,8 +1090,6 @@ def bogusDoctypeState(self):
1090
elif data == EOF:
1091
# XXX EMIT
1092
self.stream.unget(data)
1093
- self.tokenQueue.append({"type": "ParseError", "data":
1094
- "eof-in-bogus-doctype"})
1095
self.tokenQueue.append(self.currentToken)
1096
self.state = self.states["data"]
1097
else:
0 commit comments