aboutsummaryrefslogtreecommitdiffstats
path: root/ldc-completer.js
diff options
context:
space:
mode:
authoranekos2012-01-31 07:12:03 +0900
committeranekos2012-01-31 07:12:03 +0900
commita1d5d3d2c1c0ed8188833386cc0d620d5be7831c (patch)
tree7cb27c04a0cf12771fddd02c00a62102f0840d69 /ldc-completer.js
parent6fb4387fd592989d875b5d33c0025d9d88d417f5 (diff)
downloadvimperator-plugins-a1d5d3d2c1c0ed8188833386cc0d620d5be7831c.tar.bz2
Do not hate \n
Diffstat (limited to 'ldc-completer.js')
-rw-r--r--ldc-completer.js2
1 files changed, 1 insertions, 1 deletions
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');