mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
minifiers: Set minifier to KeepEndTags
See: https://github.com/tdewolff/minify/blob/948b6490cf3cacab5f4d7474104c3d21bf6eda46/README.md#L171
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
3dafe206e3
commit
9b26b5487b
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user