Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy