File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1497,15 +1497,15 @@ private function skip_script_data(): bool {
14971497 $ at += strcspn ( $ html , '-< ' , $ at );
14981498
14991499 /*
1500- * Ultimately a SCRIPT closer ( `</script>`) must be found or this function will
1501- * return false. This removes the need for additional length checks and allows
1502- * for an early return if it's impossible to find a closer .
1500+ * A SCRIPT close tag `</script>` must be found or this function will
1501+ * return false. If a close tag would not fit in the remaining string,
1502+ * no further work is necessary .
15031503 *
1504- * $at is potentially here
1505- * ↓
1506- * </script>
1507- * ╰──┬───╯
1508- * $at + 8 additional characters is the minimum length required to skip script data.
1504+ * $at is potentially here
1505+ * ↓
1506+ * </script>
1507+ * ╰──┬───╯
1508+ * $at + 8 additional characters is the minimum length required to skip script data.
15091509 */
15101510 if ( $ at + 8 >= $ doc_length ) {
15111511 return false ;
You can’t perform that action at this time.
0 commit comments