]> gitweb.fluxo.info Git - rhatto/dotfiles/vimperator.git/commitdiff
Scuttle: cleanup (2)
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Jun 2015 14:56:41 +0000 (11:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Jun 2015 14:56:41 +0000 (11:56 -0300)
vimperator.dot.link/plugin/scuttle.js

index 06f160afa24f4ef9a4e4a11caa926ae954b607c9..e3f24ea8192c96f528c32733cf2337884e21271c 100644 (file)
@@ -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);