aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-07 13:33:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-07 13:33:30 -0200
commit238b5785eae1246367266fa29d47b312721f74a2 (patch)
treea308e7829fb470b15047a151926458955dbe10d5 /modules
parentcfffdbc2ed1dafd0710cef3be4005d97c9af311d (diff)
downloaddotfiles-238b5785eae1246367266fa29d47b312721f74a2.tar.gz
dotfiles-238b5785eae1246367266fa29d47b312721f74a2.tar.bz2
Fixing URL description parameter at pentadactyl links plugin
Diffstat (limited to 'modules')
-rw-r--r--modules/pentadactyl/pentadactyl.dot/plugins.link/links.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pentadactyl/pentadactyl.dot/plugins.link/links.js b/modules/pentadactyl/pentadactyl.dot/plugins.link/links.js
index d0536a1..3b7468e 100644
--- a/modules/pentadactyl/pentadactyl.dot/plugins.link/links.js
+++ b/modules/pentadactyl/pentadactyl.dot/plugins.link/links.js
@@ -36,7 +36,7 @@ group.commands.add(["link"],
var href = encodeURIComponent(doc.location.href);
var title = encodeURIComponent(doc.title);
var desc = encodeURIComponent(doc.getSelection());
- var tags = encodeURIComponent(args);
- commands.execute('tabopen ' + instance + href + '&title=' + title + '&description=' + desc + '&tags=' + tags)
+ var tags = encodeURIComponent(args.toString().replace(/,,/g, ','));
+ commands.execute('tabopen ' + instance + href + '&title=' + title + '&description=' + desc + '&tags=' + tags);
},
{ argCount: "*" }, true);