« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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 08365c11..29063f87 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) {