From d9300049b0d16e1e8d108bf03eb6d57bc723d5cd Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 25 Jan 2011 21:05:01 -0500 Subject: [PATCH] Fix Commands.quote. --- common/content/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/commands.js b/common/content/commands.js index 8abb7531..1efb5723 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -1214,7 +1214,7 @@ var Commands = Module("commands", { }, quote: function quote(str) Commands.quoteArg[ - /[\b\f\n\r\t]/.test(str) ? "'" : + /[\b\f\n\r\t]/.test(str) ? '"' : /[\s"'\\]|^$|^-/.test(str) ? "'" : ""](str) }, {