Skip to content

Commit

Permalink
Add OPTION, OPTGROUP to implied end tags
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Jul 4, 2024
1 parent d941c83 commit 81dd7f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wp-includes/html-api/class-wp-html-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2202,6 +2202,8 @@ private function generate_implied_end_tags( $except_for_this_element = null ) {
'DD',
'DT',
'LI',
'OPTGROUP',
'OPTION',
'P',
);

Expand Down Expand Up @@ -2230,6 +2232,8 @@ private function generate_implied_end_tags_thoroughly() {
'DD',
'DT',
'LI',
'OPTGROUP',
'OPTION',
'P',
);

Expand Down

0 comments on commit 81dd7f5

Please sign in to comment.