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 66a2f77

Browse filesBrowse 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 parent 5288737 commit 66a2f77
Copy full SHA for 66a2f77

File tree

2 files changed

+2
-1
lines changed
Filter options

2 files changed

+2
-1
lines changed

‎html5lib/html5parser.py

Copy file name to clipboardExpand all lines: html5lib/html5parser.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: html5lib/utils.py
+1Lines 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+
assert len(self) == len(_dictEntries)
6465
self.default = None
6566

6667
def __getitem__(self, key):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.