Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitdfc849f

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

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
elifdata==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)

[8]ページ先頭

©2009-2025 Movatter.jp