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-02-19 07:23:08 +0000
committerLibravatar GitHub <noreply@github.com>2024-02-19 07:23:08 +0000
commit30f6e6c7fe8a9264ba5d4e30d1e858cdb90b35b0 (patch)
tree069af96b21d9c76651e9fdd1bf0e9761c33dc737 /vendor/github.com/tdewolff/minify/v2/html/html.go
parent[bugfix] Refactor parse mention, fix local mention bug (#2657) (diff)
downloadgotosocial-30f6e6c7fe8a9264ba5d4e30d1e858cdb90b35b0.tar.xz
[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.16 to 2.20.17 (#2661)
Diffstat (limited to 'vendor/github.com/tdewolff/minify/v2/html/html.go')
-rw-r--r--vendor/github.com/tdewolff/minify/v2/html/html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/tdewolff/minify/v2/html/html.go b/vendor/github.com/tdewolff/minify/v2/html/html.go
index 1ccc85be5..ab50ff650 100644
--- a/vendor/github.com/tdewolff/minify/v2/html/html.go
+++ b/vendor/github.com/tdewolff/minify/v2/html/html.go
@@ -504,7 +504,7 @@ func (o *Minifier) Minify(m *minify.M, w io.Writer, r io.Reader, _ map[string]st
if 0 < len(attr.Data) && (attr.Data[len(attr.Data)-1] == '\'' || attr.Data[len(attr.Data)-1] == '"') {
quote = attr.Data[len(attr.Data)-1]
}
- val = html.EscapeAttrVal(&attrByteBuffer, val, quote, o.KeepQuotes, isXML)
+ val = html.EscapeAttrVal(&attrByteBuffer, val, quote, o.KeepQuotes || isXML)
w.Write(val)
}
}