String escapes text before it is returned to browser-facing management clients.
(value string)
| 11 | |
| 12 | // String escapes text before it is returned to browser-facing management clients. |
| 13 | func String(value string) string { |
| 14 | return html.EscapeString(value) |
| 15 | } |
| 16 | |
| 17 | // Strings escapes each string in values while preserving order. |
| 18 | func Strings(values []string) []string { |
no outgoing calls
no test coverage detected