From 9192adbdbd966bd53d7f19bacf565362557e7689 Mon Sep 17 00:00:00 2001 From: zhangyaochun Date: Wed, 22 Jun 2016 13:35:14 +0800 Subject: [PATCH] [fix] removeStyleTypeAttributes is not supported change to removeStyleLinkTypeAttributes for removeStyleTypeAttributes is never used in [html-minifier](https://github.com/kangax/html-minifier) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3cc45634..7eae28f1 100644 --- a/index.js +++ b/index.js @@ -75,7 +75,7 @@ module.exports = function(content) { "useShortDoctype", "keepClosingSlash", "removeScriptTypeAttributes", - "removeStyleTypeAttributes" + "removeStyleLinkTypeAttributes" ].forEach(function(name) { if(typeof minimizeOptions[name] === "undefined") { minimizeOptions[name] = true;