8000 Fixed eof-in-bogus-doctype test failures · wabato/html5lib-python@dfc849f · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dfc849f

Browse files
committed
Fixed eof-in-bogus-doctype test failures
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%401236
1 parent 52121ff commit dfc849f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/html5lib/constants.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@
100100
_(u"Unexpected end of DOCTYPE."),
101101
"unexpected-char-in-doctype":
102102
_(u"Unexpected character in DOCTYPE."),
103-
"eof-in-bogus-doctype":
104-
_(u"Unexpected end of file in bogus doctype."),
105103
"eof-in-innerhtml":
106104
_(u"XXX innerHTML EOF"),
107105
"unexpected-doctype":

src/html5lib/tokenizer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,8 +1090,6 @@ def bogusDoctypeState(self):
10901090
elif data == EOF:
10911091
# XXX EMIT
10921092
self.stream.unget(data)
1093-
self.tokenQueue.append({"type": "ParseError", "data":
1094-
"eof-in-bogus-doctype"})
10951093
self.tokenQueue.append(self.currentToken)
10961094
self.state = self.states["data"]
10971095
else:

0 commit comments

Comments
 (0)
0