summaryrefslogtreecommitdiff
path: root/vendor/github.com/tdewolff/minify/v2/html/html.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-07-15 09:15:31 +0000
committerLibravatar GitHub <noreply@github.com>2024-07-15 09:15:31 +0000
commit16421f757678c2e60a1e6b59b788ef5dad8b5f81 (patch)
tree9a399275062585a5ca7bbe3ec04f538e36dff96a /vendor/github.com/tdewolff/minify/v2/html/html.go
parent[chore]: Bump github.com/coreos/go-oidc/v3 from 3.10.0 to 3.11.0 (#3104) (diff)
downloadgotosocial-16421f757678c2e60a1e6b59b788ef5dad8b5f81.tar.xz
[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.34 to 2.20.37 (#3106)
Diffstat (limited to 'vendor/github.com/tdewolff/minify/v2/html/html.go')
-rw-r--r--vendor/github.com/tdewolff/minify/v2/html/html.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/tdewolff/minify/v2/html/html.go b/vendor/github.com/tdewolff/minify/v2/html/html.go
index 345f579fb..23cd2ca07 100644
--- a/vendor/github.com/tdewolff/minify/v2/html/html.go
+++ b/vendor/github.com/tdewolff/minify/v2/html/html.go
@@ -75,6 +75,7 @@ func (o *Minifier) Minify(m *minify.M, w io.Writer, r io.Reader, _ map[string]st
if o.KeepConditionalComments {
fmt.Println("DEPRECATED: KeepConditionalComments is replaced by KeepSpecialComments")
o.KeepSpecialComments = true
+ o.KeepConditionalComments = false // omit next warning
}
omitSpace := true // if true the next leading space is omitted