commit 9b26b5487b5c5142fe9fb58681fe7d1dac95a291
parent 3dafe206e31bb92f27802a04bf9159cbc20af234
Author: Alexandros <onedrawingperday@users.noreply.github.com>
Date: Thu, 13 Sep 2018 09:16:20 +0300
minifiers: Set minifier to KeepEndTags
See: https://github.com/tdewolff/minify/blob/948b6490cf3cacab5f4d7474104c3d21bf6eda46/README.md#L171
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/minifiers/minifiers.go b/minifiers/minifiers.go
@@ -68,6 +68,7 @@ func New(mediaTypes media.Types, outputFormats output.Formats) Client {
KeepDocumentTags: true,
KeepConditionalComments: true,
KeepEndTags: true,
+ KeepDefaultAttrVals: true,
}
// We use the Type definition of the media types defined in the site if found.