(value: string)
| 223 | .replace(/^_+|_+$/g, ""); |
| 224 | |
| 225 | const sanitizeId = (value: string): string => |
| 226 | value |
| 227 | .toLowerCase() |
| 228 | .replace(/[^a-z0-9]+/g, "-") |
| 229 | .replace(/^-+|-+$/g, ""); |
| 230 | |
| 231 | /** Bound on inlined icon bytes. The bundled icons run 100KB–1MB; anything |
| 232 | * past this is not worth inlining into a list response for a 20px avatar. */ |
no test coverage detected