From f50215333205f680aa2b86c5741d3ed6d21acdc3 Mon Sep 17 00:00:00 2001 From: Dennis Snell Date: Mon, 15 Jan 2024 15:56:54 -0600 Subject: [PATCH] WPCS --- src/wp-includes/html-api/class-wp-html-tag-processor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/html-api/class-wp-html-tag-processor.php b/src/wp-includes/html-api/class-wp-html-tag-processor.php index 3a41387c537ef..61a4388bf5c1b 100644 --- a/src/wp-includes/html-api/class-wp-html-tag-processor.php +++ b/src/wp-includes/html-api/class-wp-html-tag-processor.php @@ -1601,8 +1601,8 @@ private function parse_next_tag() { * `?` as the modifiable text, the `` needs to become ``, which * involves inserting an additional `-` into the token after the modifiable text. */ - $this->parser_state = self::STATE_COMMENT; - $this->token_length = $closer_at + $span_of_dashes + 1 - $this->token_starts_at; + $this->parser_state = self::STATE_COMMENT; + $this->token_length = $closer_at + $span_of_dashes + 1 - $this->token_starts_at; // Only provide modifiable text if the token is long enough to contain it. if ( $span_of_dashes >= 2 ) {