From: Alexandros Date: Thu, 13 Sep 2018 06:16:20 +0000 (+0300) Subject: minifiers: Set minifier to KeepEndTags X-Git-Tag: v0.49~29 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9b26b5487b5c5142fe9fb58681fe7d1dac95a291;p=brevno-suite%2Fhugo minifiers: Set minifier to KeepEndTags See: https://github.com/tdewolff/minify/blob/948b6490cf3cacab5f4d7474104c3d21bf6eda46/README.md#L171 --- diff --git a/minifiers/minifiers.go b/minifiers/minifiers.go index 07eec34c..be453d81 100644 --- 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.