From 844233e70d3e44c222c8921a9c2b9d1c6575cf37 Mon Sep 17 00:00:00 2001 From: nyne Date: Tue, 9 Sep 2025 21:26:26 +0800 Subject: [PATCH] Fix RemoveSpaces --- server/utils/string.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {