From 238b5785eae1246367266fa29d47b312721f74a2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 Feb 2013 13:33:30 -0200 Subject: Fixing URL description parameter at pentadactyl links plugin --- modules/pentadactyl/pentadactyl.dot/plugins.link/links.js | 4 ++-- 1 file 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); -- cgit v1.2.3