Skip to content

Commit

Permalink
Fix arguments order in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmundch authored and gsnedders committed Dec 12, 2015
1 parent bf7da77 commit 3ebdd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html5lib/html5parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ def endTagBody(self, token):
# Not sure this is the correct name for the parse error
self.parser.parseError(
"expected-one-end-tag-but-got-another",
{"expectedName": "body", "gotName": node.name})
{"gotName": "body", "expectedName": node.name})
break
self.parser.phase = self.parser.phases["afterBody"]

Expand Down

0 comments on commit 3ebdd8b

Please sign in to comment.