From a5f3087f6b5d9c52dbe67ed247165dc32427c57d Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Thu, 4 May 2023 08:41:01 +0000 Subject: [PATCH] HTML API: Adjust coding style to pass Gutenberg linter. This patch adjusts some minor neutral whitespace that the Gutenberg linting rejects. There are no code changes otherwise. Props dmsnell. Fixes #58250. git-svn-id: https://develop.svn.wordpress.org/trunk@55721 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/html-api/class-wp-html-tag-processor.php | 6 +++--- 1 file changed, 3 insertions(+), 3 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 2ac8f469cf..9547aebd79 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 @@ -1465,9 +1465,9 @@ class WP_HTML_Tag_Processor { $accumulated_shift_for_given_point += $shift; } - $output_buffer .= substr( $this->html, $bytes_already_copied, $diff->start - $bytes_already_copied ); - $output_buffer .= $diff->text; - $bytes_already_copied = $diff->end; + $output_buffer .= substr( $this->html, $bytes_already_copied, $diff->start - $bytes_already_copied ); + $output_buffer .= $diff->text; + $bytes_already_copied = $diff->end; } $this->html = $output_buffer . substr( $this->html, $bytes_already_copied );