diff --git a/html5lib/html5parser.py b/html5lib/html5parser.py index dab175dd..f29ca2f8 100644 --- a/html5lib/html5parser.py +++ b/html5lib/html5parser.py @@ -926,8 +926,8 @@ def __init__(self, parser, tree): self.endTagHandler = utils.MethodDispatcher([ ("body", self.endTagBody), ("html", self.endTagHtml), - (("address", "article", "aside", "blockquote", "center", - "details", "dir", "div", "dl", "fieldset", "figcaption", "figure", + (("address", "article", "aside", "blockquote", "button", "center", + "details", "dialog", "dir", "div", "dl", "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "listing", "menu", "nav", "ol", "pre", "section", "summary", "ul"), self.endTagBlock), ("form", self.endTagForm),