Skip to content

Commit 11f51c9

Browse files
committed
Improve example comment
1 parent dfb63af commit 11f51c9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/wp-includes/html-api/class-wp-html-tag-processor.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3820,9 +3820,10 @@ public function set_modifiable_text( string $plaintext_content ): bool {
38203820
* SCRIPT element from closing as expected, for example:
38213821
*
38223822
* <script>
3823-
* // If this "<!--" then "<script>" the closing tag will not be recognized.
3823+
* // If "<!--" and "<script>" appear like this,
3824+
* // the following `</script>` close tag will not be recognized.
38243825
* </script>
3825-
* <h1>This appears inside the preceding SCRIPT element.</h1>
3826+
* <h1>This appears _inside_ the preceding SCRIPT element.</h1>
38263827
*
38273828
* The relevant state transitions happen on text like:
38283829
* 1. <

0 commit comments

Comments
 (0)