From ef68abe80231a0f0366ae674e1b32a9bc3608daf Mon Sep 17 00:00:00 2001 From: biglyderv Date: Tue, 4 Mar 2025 00:44:47 -0500 Subject: [PATCH] fix weird bugs with newlines --- lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.js b/lib.js index 6c0ca01..d471026 100644 --- a/lib.js +++ b/lib.js @@ -10,7 +10,7 @@ function apiStat(res, next, message, success = false, redirect = '/') { } function splitUp(content) { - let out = content.split(/(\s)/g); + let out = content.split(/(\s+)/g); for (let i in out) { let res = out[i];