You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior: HTML contents of scripts of type text/html should be minified.
Actual behavior: No minification happens.
As per the HTML5 spec, it's valid to have "text/html" as a script tag's content.
The type attribute gives the language of the script or format of the data. If the attribute is present, its value must be a valid MIME type. The charset parameter must not be specified. The default, which is used if the attribute is absent, is "text/javascript".
This is used in some sites, such as sway.com (search for type="text/html"> in the source).
The text was updated successfully, but these errors were encountered:
Bug report
Expected behavior: HTML contents of scripts of type
text/html
should be minified.Actual behavior: No minification happens.
As per the HTML5 spec, it's valid to have
"text/html"
as a script tag's content.This is used in some sites, such as sway.com (search for
type="text/html">
in the source).The text was updated successfully, but these errors were encountered: