From b7da517852fd869d4fc4db22f8505b2b50fb3a16 Mon Sep 17 00:00:00 2001 From: "Juan B. Rodriguez" Date: Tue, 12 Dec 2017 16:58:29 -0500 Subject: [PATCH] Set saner htmlmin defaults Ref #25 --- README.md | 6 ++---- index.js | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 36bf50d..4d65980 100644 --- a/README.md +++ b/README.md @@ -135,8 +135,7 @@ This is the default `.hugulprc`: "advanced": false }, "htmlmin": { - "collapsedWhitespace": true, - "removeEmptyElements": true + "collapseWhitespace": true }, "gifsicle": { "interlaced": true }, "jpegtran": { "progressive": true }, @@ -336,8 +335,7 @@ Default: ```json "htmlmin": { - "collapsedWhitespace": true, - "removeEmptyElements": true + "collapsedWhitespace": true } ``` diff --git a/index.js b/index.js index 21887a7..c5071d4 100755 --- a/index.js +++ b/index.js @@ -42,8 +42,7 @@ function init() { advanced: false }, htmlmin: { - collapsedWhitespace: true, - removeEmptyElements: true + collapseWhitespace: true }, gifsicle: { interlaced: true }, jpegtran: { progressive: true },