- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for htmlSafeSet (0.15 sec)
-
src/encoding/json/encode.go
} func appendString[Bytes []byte | string](dst []byte, src Bytes, escapeHTML bool) []byte { dst = append(dst, '"') start := 0 for i := 0; i < len(src); { if b := src[i]; b < utf8.RuneSelf { if htmlSafeSet[b] || (!escapeHTML && safeSet[b]) { i++ continue } dst = append(dst, src[start:i]...) switch b { case '\\', '"': dst = append(dst, '\\', b) case '\b':
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 36.2K bytes - Viewed (0)