hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit e6eda2a370aa1184e0afaf12e95dbd6f8b63ace5
parent 66f688f7120560ca787c1a23e3e7fbc3aa617956
Author: vsopvsop <vsopvsop@users.noreply.github.com>
Date:   Sat, 25 Aug 2018 14:19:15 +0530

minfiers: Keep end tags

Fixes  #5112
Diffstat:
Mminifiers/minifiers.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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.