diff options
author | vsopvsop <[email protected]> | 2018-08-25 14:19:15 +0530 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-08-25 10:49:15 +0200 |
commit | e6eda2a370aa1184e0afaf12e95dbd6f8b63ace5 (patch) | |
tree | e082bddd59d340a330abb4f0194e8b1c415c8dea /minifiers | |
parent | 66f688f7120560ca787c1a23e3e7fbc3aa617956 (diff) | |
download | hugo-e6eda2a370aa1184e0afaf12e95dbd6f8b63ace5.tar.gz hugo-e6eda2a370aa1184e0afaf12e95dbd6f8b63ace5.zip |
minfiers: Keep end tags
Fixes #5112
Diffstat (limited to 'minifiers')
-rw-r--r-- | minifiers/minifiers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/minifiers/minifiers.go b/minifiers/minifiers.go index c2f3ef6df..28058dcd8 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. |