mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 11:34:12 +01:00
Fix Commands.quote.
This commit is contained in:
@@ -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)
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user