Sanitize prepares text for our check functions.
(txt string)
| 30 | |
| 31 | // Sanitize prepares text for our check functions. |
| 32 | func Sanitize(txt string) string { |
| 33 | // TODO: symbols? |
| 34 | return sanitizer.Replace(txt) |
| 35 | } |
| 36 | |
| 37 | // StripANSI removes all ANSI characters from the given string. |
| 38 | func StripANSI(s string) string { |
no outgoing calls
searching dependent graphs…