- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for htmlSafeSet (0.09 sec)
-
internal/kms/context.go
// escapeStringJSON will escape a string for JSON and write it to dst. func escapeStringJSON(dst *bytes.Buffer, s string) { start := 0 for i := 0; i < len(s); { if b := s[i]; b < utf8.RuneSelf { if htmlSafeSet[b] { i++ continue } if start < i { dst.WriteString(s[start:i]) } dst.WriteByte('\\') switch b { case '\\', '"': dst.WriteByte(b) case '\n':
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 6K bytes - Viewed (0)