commit 63e971e
delthas
·
2024-09-17 16:03:29 +0000 UTC
parent 3fb782b
Fix escaping tag values twice
1 files changed,
+1,
-1
+1,
-1
1@@ -294,7 +294,7 @@ func (msg Message) WithTag(key, value string) Message {
2 if msg.Tags == nil {
3 msg.Tags = map[string]string{}
4 }
5- msg.Tags[key] = escapeTagValue(value)
6+ msg.Tags[key] = value
7 return msg
8 }
9