mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 05:35:45 +01:00
Fix Commands.quote.
This commit is contained in:
@@ -1214,7 +1214,7 @@ var Commands = Module("commands", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
quote: function quote(str) Commands.quoteArg[
|
quote: function quote(str) Commands.quoteArg[
|
||||||
/[\b\f\n\r\t]/.test(str) ? "'" :
|
/[\b\f\n\r\t]/.test(str) ? '"' :
|
||||||
/[\s"'\\]|^$|^-/.test(str) ? "'"
|
/[\s"'\\]|^$|^-/.test(str) ? "'"
|
||||||
: ""](str)
|
: ""](str)
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Reference in New Issue
Block a user