Skip to content

Commit

Permalink
Multi-line comments should be block comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Jul 4, 2024
1 parent ddbd676 commit f6d686d
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/wp-includes/html-api/class-wp-html-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1351,15 +1351,17 @@ private function step_in_body() {
$this->insert_html_element( $this->state->current_token );
$this->state->frameset_ok = false;

// If the insertion mode is one of
// - "in table"
// - "in caption"
// - "in table body"
// - "in row"
// - "in cell"
// then switch the insertion mode to "in select in table"
//
// Otherwise, switch the insertion mode to "in select".
/*
* If the insertion mode is one of
* - "in table"
* - "in caption"
* - "in table body"
* - "in row"
* - "in cell"
* then switch the insertion mode to "in select in table"
*
* Otherwise, switch the insertion mode to "in select".
*/
switch ( $this->state->insertion_mode ) {
case WP_HTML_Processor_State::INSERTION_MODE_IN_TABLE:
case WP_HTML_Processor_State::INSERTION_MODE_IN_CAPTION:
Expand Down

0 comments on commit f6d686d

Please sign in to comment.