« get me outta code hell

crlf hell pt. III - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-01-01 22:45:56 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-01-01 22:45:56 -0400
commitfebc48a2d50e5440ee598f594676e1e8aeafbff5 (patch)
tree5481925a04aa7d3ff4292676a343db00270c5074 /src
parent940087d2d2df955d6bdd4b0cdbbf6d35f254c802 (diff)
crlf hell pt. III
Diffstat (limited to 'src')
-rwxr-xr-xsrc/upd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index c9fc1d87..26572aa7 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) {