summary refs log tree commit diff
path: root/src/util/String.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/String.ts')
-rw-r--r--src/util/String.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/String.ts b/src/util/String.ts
index bac7905f..55f11e8d 100644
--- a/src/util/String.ts
+++ b/src/util/String.ts
@@ -1,7 +1,7 @@
-import { DOUBLE_WHITE_SPACE, SPECIAL_CHAR } from "./Regex";
+import { SPECIAL_CHAR } from "./Regex";
 
 export function trimSpecial(str?: string): string {
 	// @ts-ignore
 	if (!str) return;
-	return str.replace(SPECIAL_CHAR, "").replace(DOUBLE_WHITE_SPACE, " ").trim();
+	return str.replace(SPECIAL_CHAR, "").trim();
 }