diff options
author | Alexandros <[email protected]> | 2018-09-13 09:16:20 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-09-13 08:16:20 +0200 |
commit | 9b26b5487b5c5142fe9fb58681fe7d1dac95a291 (patch) | |
tree | 4e7fbcce97744b7ee764e138ce61716239edc8b9 | |
parent | 3dafe206e31bb92f27802a04bf9159cbc20af234 (diff) | |
download | hugo-9b26b5487b5c5142fe9fb58681fe7d1dac95a291.tar.gz hugo-9b26b5487b5c5142fe9fb58681fe7d1dac95a291.zip |
minifiers: Set minifier to KeepEndTags
See: https://github.com/tdewolff/minify/blob/948b6490cf3cacab5f4d7474104c3d21bf6eda46/README.md#L171
-rw-r--r-- | minifiers/minifiers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/minifiers/minifiers.go b/minifiers/minifiers.go index 07eec34ce..be453d811 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. |