We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7da77 commit 3ebdd8bCopy full SHA for 3ebdd8b
html5lib/html5parser.py
@@ -1327,7 +1327,7 @@ def endTagBody(self, token):
1327
# Not sure this is the correct name for the parse error
1328
self.parser.parseError(
1329
"expected-one-end-tag-but-got-another",
1330
- {"expectedName": "body", "gotName": node.name})
+ {"gotName": "body", "expectedName": node.name})
1331
break
1332
self.parser.phase = self.parser.phases["afterBody"]
1333
0 commit comments