File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3972,7 +3972,7 @@ public function is_javascript_script_tag(): bool {
39723972 *
39733973 * > A string is a JavaScript MIME type essence match if it is an ASCII case-insensitive
39743974 * > match for one of the JavaScript MIME type essence strings.
3975-
3975+ *
39763976 * > A JavaScript MIME type is any MIME type whose essence is one of the following:
39773977 * >
39783978 * > - application/ecmascript
@@ -3992,8 +3992,8 @@ public function is_javascript_script_tag(): bool {
39923992 * > - text/x-ecmascript
39933993 * > - text/x-javascript
39943994 *
3995- * @see https://mimesniff.spec.whatwg.org/#javascript-mime-type
39963995 * @see https://mimesniff.spec.whatwg.org/#javascript-mime-type-essence-match
3996+ * @see https://mimesniff.spec.whatwg.org/#javascript-mime-type
39973997 */
39983998 switch ( strtolower ( $ type_string ) ) {
39993999 case 'application/ecmascript ' :
@@ -4015,11 +4015,11 @@ public function is_javascript_script_tag(): bool {
40154015 return true ;
40164016
40174017 /*
4018- * > Otherwise, if the script block's type string is an ASCII case-insensitive match for
4019- * > the string "module", then set el's type to "module".
4020- *
4021- * A module is evaluated as JavaScript
4022- */
4018+ * > Otherwise, if the script block's type string is an ASCII case-insensitive match for
4019+ * > the string "module", then set el's type to "module".
4020+ *
4021+ * A module is evaluated as JavaScript.
4022+ */
40234023 case 'module ' :
40244024 return true ;
40254025 }
You can’t perform that action at this time.
0 commit comments