diff --git a/js/ctrls/modal.js b/js/ctrls/modal.js index 85b30fd..55d9c6d 100644 --- a/js/ctrls/modal.js +++ b/js/ctrls/modal.js @@ -81,7 +81,7 @@ angular .chain(this.uris.trim().split(/\r?\n/g)) .map(function(d) { return _(d) - .replace(/["'][^"]*['"]/g, function(c) { + .replace(/["'][^"']*["']/g, function(c) { return c.replace(/%/g,'%25').replace(/ /g,'%20'); }) .trim()