diff --git a/server/utils/string.go b/server/utils/string.go index fdbd9d3..ca97557 100644 --- a/server/utils/string.go +++ b/server/utils/string.go @@ -7,7 +7,7 @@ import ( func RemoveSpaces(s string) string { reg := regexp.MustCompile(`\s+`) - return reg.ReplaceAllString(s, " ") + return reg.ReplaceAllString(s, "") } func OnlyPunctuation(s string) bool {