File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3882,7 +3882,7 @@ public function is_javascript_script_tag(): bool {
38823882 *
38833883 * > A string is a JavaScript MIME type essence match if it is an ASCII case-insensitive
38843884 * > match for one of the JavaScript MIME type essence strings.
3885-
3885+ *
38863886 * > A JavaScript MIME type is any MIME type whose essence is one of the following:
38873887 * >
38883888 * > - application/ecmascript
@@ -3902,8 +3902,8 @@ public function is_javascript_script_tag(): bool {
39023902 * > - text/x-ecmascript
39033903 * > - text/x-javascript
39043904 *
3905- * @see https://mimesniff.spec.whatwg.org/#javascript-mime-type
39063905 * @see https://mimesniff.spec.whatwg.org/#javascript-mime-type-essence-match
3906+ * @see https://mimesniff.spec.whatwg.org/#javascript-mime-type
39073907 */
39083908 switch ( strtolower ( $ type_string ) ) {
39093909 case 'application/ecmascript ' :
@@ -3925,11 +3925,11 @@ public function is_javascript_script_tag(): bool {
39253925 return true ;
39263926
39273927 /*
3928- * > Otherwise, if the script block's type string is an ASCII case-insensitive match for
3929- * > the string "module", then set el's type to "module".
3930- *
3931- * A module is evaluated as JavaScript
3932- */
3928+ * > Otherwise, if the script block's type string is an ASCII case-insensitive match for
3929+ * > the string "module", then set el's type to "module".
3930+ *
3931+ * A module is evaluated as JavaScript.
3932+ */
39333933 case 'module ' :
39343934 return true ;
39353935 }
You can’t perform that action at this time.
0 commit comments