aboutsummaryrefslogtreecommitdiffstats
path: root/copy.js
diff options
context:
space:
mode:
authorjanus_wel2008-11-02 18:10:44 +0000
committerjanus_wel2008-11-02 18:10:44 +0000
commit197a0c152b00b4a9544f9c7a771b662f8203e09b (patch)
tree39fc9e55807b2cc4742bfc6736ff52265f09a2ce /copy.js
parente9ed4757b5405ba2bfaf9d2546b6bda195857d86 (diff)
downloadvimperator-plugins-197a0c152b00b4a9544f9c7a771b662f8203e09b.tar.bz2
fix titleAndURL's description on completion
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@22590 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'copy.js')
-rw-r--r--copy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/copy.js b/copy.js
index a382e6c..cfd9176 100644
--- a/copy.js
+++ b/copy.js
@@ -87,7 +87,7 @@ commands.addUserCommand(['copy'],'Copy to clipboard',
return completion.javascript(filter);
}
var templates = liberator.globalVariables.copy_templates.map(function(template)
- [template.label, template.value]
+ [template.label, liberator.modules.util.escapeString(template.value, '"')]
);
if (!filter){ return [0,templates]; }
var candidates = [];