diff options
author | Alexandros <onedrawingperday@users.noreply.github.com> | 2018-09-13 09:16:20 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-13 08:16:20 +0200 |
commit | 9b26b5487b5c5142fe9fb58681fe7d1dac95a291 (patch) | |
tree | 4e7fbcce97744b7ee764e138ce61716239edc8b9 /minifiers/minifiers.go | |
parent | 3dafe206e31bb92f27802a04bf9159cbc20af234 (diff) |
minifiers: Set minifier to KeepEndTags
See: https://github.com/tdewolff/minify/blob/948b6490cf3cacab5f4d7474104c3d21bf6eda46/README.md#L171
Diffstat (limited to 'minifiers/minifiers.go')
-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. |