diff --git a/pkg/sanitize/sanitize.go b/pkg/sanitize/sanitize.go index 61acacf..70ab3cd 100644 --- a/pkg/sanitize/sanitize.go +++ b/pkg/sanitize/sanitize.go @@ -7,7 +7,7 @@ import ( "strings" ) -// String sanitizes a string by removing any non-alphanumeric characters. +// String sanitizes a string by removing newline characters. func String(s string) string { return strings.ReplaceAll(strings.ReplaceAll(s, "\r", ""), "\n", "") }