We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1688eb commit eff1115Copy full SHA for eff1115
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