Skip to content

Commit 3ebdd8b

Browse files
sigmundchgsnedders
authored andcommitted
Fix arguments order in error message
1 parent bf7da77 commit 3ebdd8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/html5parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ def endTagBody(self, token):
13271327
# Not sure this is the correct name for the parse error
13281328
self.parser.parseError(
13291329
"expected-one-end-tag-but-got-another",
1330-
{"expectedName": "body", "gotName": node.name})
1330+
{"gotName": "body", "expectedName": node.name})
13311331
break
13321332
self.parser.phase = self.parser.phases["afterBody"]
13331333

0 commit comments

Comments
 (0)