diff options
Diffstat (limited to 'minifiers')
-rw-r--r-- | minifiers/config.go | 2 | ||||
-rw-r--r-- | minifiers/minifiers_test.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/minifiers/config.go b/minifiers/config.go index e56617a06..675e5d2b8 100644 --- a/minifiers/config.go +++ b/minifiers/config.go @@ -35,7 +35,7 @@ var defaultTdewolffConfig = tdewolffConfig{ KeepConditionalComments: true, KeepEndTags: true, KeepDefaultAttrVals: true, - KeepWhitespace: true, + KeepWhitespace: false, }, CSS: css.Minifier{ Precision: 0, diff --git a/minifiers/minifiers_test.go b/minifiers/minifiers_test.go index ece8cbd08..9866f67da 100644 --- a/minifiers/minifiers_test.go +++ b/minifiers/minifiers_test.go @@ -191,7 +191,7 @@ func TestDecodeConfigDecimalIsNowPrecision(t *testing.T) { } -// Issue 8771 +// Issue 9456 func TestDecodeConfigKeepWhitespace(t *testing.T) { c := qt.New(t) v := config.New() @@ -214,7 +214,7 @@ func TestDecodeConfigKeepWhitespace(t *testing.T) { KeepDocumentTags: true, KeepEndTags: false, KeepQuotes: false, - KeepWhitespace: true}, + KeepWhitespace: false}, ) } |