From: vsopvsop Date: Sat, 25 Aug 2018 08:49:15 +0000 (+0530) Subject: minfiers: Keep end tags X-Git-Tag: v0.48~16 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e6eda2a370aa1184e0afaf12e95dbd6f8b63ace5;p=brevno-suite%2Fhugo minfiers: Keep end tags Fixes #5112 --- diff --git a/minifiers/minifiers.go b/minifiers/minifiers.go index c2f3ef6d..28058dcd 100644 --- a/minifiers/minifiers.go +++ b/minifiers/minifiers.go @@ -67,6 +67,7 @@ func New(mediaTypes media.Types, outputFormats output.Formats) Client { htmlMin := &html.Minifier{ KeepDocumentTags: true, KeepConditionalComments: true, + KeepEndTags: true, } // We use the Type definition of the media types defined in the site if found.