diff options
author | anekos | 2012-01-31 07:12:03 +0900 |
---|---|---|
committer | anekos | 2012-01-31 07:12:03 +0900 |
commit | a1d5d3d2c1c0ed8188833386cc0d620d5be7831c (patch) | |
tree | 7cb27c04a0cf12771fddd02c00a62102f0840d69 | |
parent | 6fb4387fd592989d875b5d33c0025d9d88d417f5 (diff) | |
download | vimperator-plugins-a1d5d3d2c1c0ed8188833386cc0d620d5be7831c.tar.bz2 |
Do not hate \n
-rw-r--r-- | ldc-completer.js | 2 |
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'); |