fix single quotes match

This commit is contained in:
Weirong Xu 2017-09-20 22:19:50 +08:00
parent 067c369561
commit b41c78206d

View File

@ -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()