fix weird bugs with newlines

This commit is contained in:
biglyderv 2025-03-04 00:44:47 -05:00
parent f7c948b4ac
commit ef68abe802
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5

2
lib.js
View file

@ -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];