Skip to content

Commit a7495dd

Browse files
committed
Improve consistency of comment quoting and differentiate types of double quotes
1 parent 288b952 commit a7495dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3814,9 +3814,9 @@ public function set_modifiable_text( string $plaintext_content ): bool {
38143814
/*
38153815
* SCRIPT tag contents can be dangerous.
38163816
*
3817-
* The text `</script>` could close the SCRIPT element prematurely.
3817+
* The text "</script>" could close the SCRIPT element prematurely.
38183818
*
3819-
* The text `<script>` could enter the "script data double escaped state", preventing the
3819+
* The text "<script>" could enter the script data double escaped state, preventing the
38203820
* SCRIPT element from closing as expected, for example:
38213821
*
38223822
* <script>

0 commit comments

Comments
 (0)