From e6eda2a370aa1184e0afaf12e95dbd6f8b63ace5 Mon Sep 17 00:00:00 2001 From: vsopvsop Date: Sat, 25 Aug 2018 14:19:15 +0530 Subject: [PATCH] minfiers: Keep end tags Fixes #5112 --- minifiers/minifiers.go | 1 + 1 file changed, 1 insertion(+) 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. -- 2.30.2