Skip to content

Commit 7c32ab6

Browse files
committed
fix(parser): Have </button> close <p>
Fixes #533 A PR with a test was opened at html5lib/html5lib-tests#146
1 parent 52ba973 commit 7c32ab6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/parse5/lib/parser/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2466,6 +2466,7 @@ function endTagInBody<T extends TreeAdapterTypeMap>(p: Parser<T>, token: TagToke
24662466
case $.MAIN:
24672467
case $.MENU:
24682468
case $.ASIDE:
2469+
case $.BUTTON:
24692470
case $.CENTER:
24702471
case $.FIGURE:
24712472
case $.FOOTER:

0 commit comments

Comments
 (0)