From febc48a2d50e5440ee598f594676e1e8aeafbff5 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 1 Jan 2022 22:45:56 -0400 Subject: crlf hell pt. III --- src/upd8.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upd8.js b/src/upd8.js index c9fc1d8..26572aa 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -272,7 +272,7 @@ async function findFiles(dataPath, filter = f => true) { } function splitLines(text) { - return text.split(/\r|\n|\r\n/); + return text.split(/\r\n|\r|\n/); } function* getSections(lines) { -- cgit 1.3.0-6-gf8a5