Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tdewolff/minify
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Jun 11, 2024
2 parents 76bec4e + b023a48 commit 6f9a4ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindings/js/minify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 2 additions & 0 deletions bindings/py/minify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 6f9a4ea

Please sign in to comment.