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

Commit66a2f77

Browse files
committed
Check that no tag in the method dispatcher is duplicated (#255)
Check that no tag in the method dispatcher is duplicated; r=nobody!
1 parent5288737 commit66a2f77

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎html5lib/html5parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ def __init__(self, parser, tree):
893893
("body",self.startTagBody),
894894
("frameset",self.startTagFrameset),
895895
(("address","article","aside","blockquote","center","details",
896-
"details","dir","div","dl","fieldset","figcaption","figure",
896+
"dir","div","dl","fieldset","figcaption","figure",
897897
"footer","header","hgroup","main","menu","nav","ol","p",
898898
"section","summary","ul"),
899899
self.startTagCloseP),

‎html5lib/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def __init__(self, items=()):
6161
else:
6262
_dictEntries.append((name,value))
6363
dict.__init__(self,_dictEntries)
64+
assertlen(self)==len(_dictEntries)
6465
self.default=None
6566

6667
def__getitem__(self,key):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp