Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
htmlMinify: function() {
this.content = minify(this.content, {
removeComments: true,
removeCommentsFromCDATA: true,
removeCDATASectionsFromCDATA: true,
collapseWhitespace: true,
collapseBooleanAttributes: true,
removeAttributeQuotes: true,
removeRedundantAttributes: true,
removeStyleLinkTypeAttributes: true,
keepClosingSlash: true,
caseSensitive: true
});
},