« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 069292f..2319c13 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -768,7 +768,7 @@ async function processAlbumDataFile(file) {
     // We'll just return more specific errors if it's missing necessary data
     // fields.
 
-    const contentLines = contents.split('\n');
+    const contentLines = contents.split(/\r\n|\r|\n/);
 
     // In this line of code I defeat the purpose of using a generator in the
     // first place. Sorry!!!!!!!!