« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-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) {