minfiers: Keep end tags

Fixes  #5112
This commit is contained in:
vsopvsop 2018-08-25 14:19:15 +05:30 committed by Bjørn Erik Pedersen
parent 66f688f712
commit e6eda2a370

View file

@ -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.