From: Silvio Rhatto Date: Thu, 18 Jun 2015 14:56:41 +0000 (-0300) Subject: Scuttle: cleanup (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=01917fd33d6af73334ee80082971f3ac3a0fbcfe;p=rhatto%2Fdotfiles%2Fvimperator.git Scuttle: cleanup (2) --- diff --git a/vimperator.dot.link/plugin/scuttle.js b/vimperator.dot.link/plugin/scuttle.js index 06f160a..e3f24ea 100644 --- a/vimperator.dot.link/plugin/scuttle.js +++ b/vimperator.dot.link/plugin/scuttle.js @@ -41,7 +41,7 @@ commands.addUserCommand(['scuttle'], "Save page as a bookmark on Scuttle", tags = args.string; } - url += "&tags=" + encodeURIComponent(tags).replace(/,,/g, ';').replace(/,/g, ' ').replace(/;/g, ', ').replace(/%2C/g, ','); + url += "&tags=" + encodeURIComponent(tags).replace(/%2C/g, ','); var xhr = new XMLHttpRequest(); xhr.open("POST", url, false); xhr.send(null);