Skip to content

Commit

Permalink
fix(parser): Have </button> close <p> (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
fb55 committed May 9, 2022
1 parent cc7f0b9 commit 84e52f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/parse5/lib/parser/index.ts
Expand Up @@ -2466,6 +2466,7 @@ function endTagInBody<T extends TreeAdapterTypeMap>(p: Parser<T>, token: TagToke
case $.MAIN:
case $.MENU:
case $.ASIDE:
case $.BUTTON:
case $.CENTER:
case $.FIGURE:
case $.FOOTER:
Expand Down

0 comments on commit 84e52f5

Please sign in to comment.