diff --git a/bindings/js/minify.go b/bindings/js/minify.go index 77da6c4534..8bbd36ba40 100644 --- a/bindings/js/minify.go +++ b/bindings/js/minify.go @@ -65,6 +65,8 @@ func minifyConfig(ckeys **C.char, cvals **C.char, length C.longlong) *C.char { htmlMinifier.KeepComments, err = strconv.ParseBool(vals[i]) case "html-keep-conditional-comments": htmlMinifier.KeepConditionalComments, err = strconv.ParseBool(vals[i]) + case "html-keep-special-comments": + htmlMinifier.KeepSpecialComments, err = strconv.ParseBool(vals[i]) case "html-keep-default-attr-vals": htmlMinifier.KeepDefaultAttrVals, err = strconv.ParseBool(vals[i]) case "html-keep-document-tags": diff --git a/bindings/py/minify.go b/bindings/py/minify.go index 77da6c4534..8bbd36ba40 100644 --- a/bindings/py/minify.go +++ b/bindings/py/minify.go @@ -65,6 +65,8 @@ func minifyConfig(ckeys **C.char, cvals **C.char, length C.longlong) *C.char { htmlMinifier.KeepComments, err = strconv.ParseBool(vals[i]) case "html-keep-conditional-comments": htmlMinifier.KeepConditionalComments, err = strconv.ParseBool(vals[i]) + case "html-keep-special-comments": + htmlMinifier.KeepSpecialComments, err = strconv.ParseBool(vals[i]) case "html-keep-default-attr-vals": htmlMinifier.KeepDefaultAttrVals, err = strconv.ParseBool(vals[i]) case "html-keep-document-tags":