From 84e52f55c273f3f233f1b9fa5b3405dc7e6bdf76 Mon Sep 17 00:00:00 2001 From: Felix <188768+fb55@users.noreply.github.com> Date: Mon, 9 May 2022 09:07:46 +0100 Subject: [PATCH] fix(parser): Have `` close `

` (#534) --- packages/parse5/lib/parser/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/parse5/lib/parser/index.ts b/packages/parse5/lib/parser/index.ts index 00fb7af8c..3f53c4cb1 100644 --- a/packages/parse5/lib/parser/index.ts +++ b/packages/parse5/lib/parser/index.ts @@ -2466,6 +2466,7 @@ function endTagInBody(p: Parser, token: TagToke case $.MAIN: case $.MENU: case $.ASIDE: + case $.BUTTON: case $.CENTER: case $.FIGURE: case $.FOOTER: