From a1d5d3d2c1c0ed8188833386cc0d620d5be7831c Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 31 Jan 2012 07:12:03 +0900 Subject: Do not hate \n --- ldc-completer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldc-completer.js') diff --git a/ldc-completer.js b/ldc-completer.js index 96db05a..5633501 100644 --- a/ldc-completer.js +++ b/ldc-completer.js @@ -178,7 +178,7 @@ let INFO = util.httpGet( URL, function (xhr) { - let xml = new XML(xhr.responseText.replace(/<\?.*?\?>\n/, '')); + let xml = new XML(xhr.responseText.replace(/<\?.*?\?>\n/, '').replace(/\n/g, '')); liberator.__xml = xml; withTransaction(importFromXML.bind(null, xml)); liberator.echo('Done: Livedoor Clip synchronization'); -- cgit v1.2.3