diff --git a/viecpro_typesense/handlers.py b/viecpro_typesense/handlers.py index 8086f87..ad30cfe 100644 --- a/viecpro_typesense/handlers.py +++ b/viecpro_typesense/handlers.py @@ -25,6 +25,7 @@ def fixstring(string): string = re.sub(REG_SKL, "", string) string = re.sub(REG_EKL, "", string) string = re.sub(REG_GKL, "", string) + string = string.replace(" ", " ").replace(" ,", ",") return string