minfiers: Keep end tags - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit e6eda2a370aa1184e0afaf12e95dbd6f8b63ace5
DIR parent 66f688f7120560ca787c1a23e3e7fbc3aa617956
HTML Author: vsopvsop <vsopvsop@users.noreply.github.com>
Date: Sat, 25 Aug 2018 14:19:15 +0530
minfiers: Keep end tags
Fixes #5112
Diffstat:
M minifiers/minifiers.go | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR 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.