fix weird line break

This commit is contained in:
Kistaro Windrider 2023-12-22 00:40:01 -08:00
parent fbeb313078
commit 97ddfb876b
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -14,7 +14,8 @@ end
function csv(s) function csv(s)
local ret=split(s,"\n") local ret=split(s,"\n")
for i,v in ipairs(ret) do for i,v in ipairs(ret) do
ret[i] = type(v) == "string" and split(v) or {v} end ret[i] = type(v) == "string" and split(v) or {v}
end
return ret return ret
end end