mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
minifiers: Set minifier to KeepEndTags
See: https://github.com/tdewolff/minify/blob/948b6490cf3cacab5f4d7474104c3d21bf6eda46/README.md#L171
This commit is contained in:
1 parent
3dafe206e3
commit
9b26b5487b
1 file changed
+1
@@ -68,6 +68,7 @@ func New(mediaTypes media.Types, outputFormats output.Formats) Client {
|
|||||||
KeepDocumentTags: true,
|
KeepDocumentTags: true,
|
||||||
KeepConditionalComments: true,
|
KeepConditionalComments: true,
|
||||||
KeepEndTags: true,
|
KeepEndTags: true,
|
||||||
|
KeepDefaultAttrVals: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
// We use the Type definition of the media types defined in the site if found.
|
// We use the Type definition of the media types defined in the site if found.
|
||||||
|
|||||||
Reference in new issue
Block a user