We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d68b404 commit 24a837cCopy full SHA for 24a837c
1 file changed
src/wp-includes/html-api/class-wp-html-processor.php
@@ -2357,8 +2357,8 @@ private function step_in_body(): bool {
2357
case 'A':
2358
$this->run_adoption_agency_algorithm();
2359
$this->state->active_formatting_elements->remove_node( $item );
2360
- $this->state->stack_of_open_elements->remove_node( $item );
2361
- break;
+ $this->state->stack_of_open_elements->remove_node( $item->token );
+ break 2;
2362
}
2363
2364
0 commit comments