Skip to content

Commit

Permalink
Add missing spec quote to after body anything else
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Aug 9, 2024
1 parent c740932 commit 6d5fbf2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 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 @@ -4061,6 +4061,9 @@ private function step_after_body(): bool {
return true;
}

/*
* > Parse error. Switch the insertion mode to "in body" and reprocess the token.
*/
after_body_anything_else:
$this->bail( 'Cannot process any tokens after closing the BODY which would require re-opening it.' );
}
Expand Down

0 comments on commit 6d5fbf2

Please sign in to comment.