From f6d686d396535fb754de9f0078f79ca645a342c1 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Thu, 4 Jul 2024 21:29:35 +0200 Subject: [PATCH] Multi-line comments should be block comments --- .../html-api/class-wp-html-processor.php | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/wp-includes/html-api/class-wp-html-processor.php b/src/wp-includes/html-api/class-wp-html-processor.php index 6ba85262f3a1d..1ecce27b9487d 100644 --- a/src/wp-includes/html-api/class-wp-html-processor.php +++ b/src/wp-includes/html-api/class-wp-html-processor.php @@ -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: