aboutsummaryrefslogtreecommitdiffstats
path: root/copy.js
diff options
context:
space:
mode:
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 = [];