Skip to content

Commit 9192adb

Browse files
authored
[fix] removeStyleTypeAttributes is not supported
change to removeStyleLinkTypeAttributes for removeStyleTypeAttributes is never used in [html-minifier](https://github.com/kangax/html-minifier)
1 parent b8083c2 commit 9192adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = function(content) {
7575
"useShortDoctype",
7676
"keepClosingSlash",
7777
"removeScriptTypeAttributes",
78-
"removeStyleTypeAttributes"
78+
"removeStyleLinkTypeAttributes"
7979
].forEach(function(name) {
8080
if(typeof minimizeOptions[name] === "undefined") {
8181
minimizeOptions[name] = true;

0 commit comments

Comments
 (0)