mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 05:02:31 +02:00
add global flag to escapeQuotes() in io.system
This commit is contained in:
1 parent
48885a5f1a
commit
7c9c7f0f63
1 file changed
+1
-1
+1
-1
@@ -719,7 +719,7 @@ lookup:
|
||||
var stdoutFile = ioManager.createTempFile();
|
||||
var stderrFile = ioManager.createTempFile();
|
||||
|
||||
function escapeQuotes(str) str.replace('"', '\\"');
|
||||
function escapeQuotes(str) str.replace('"', '\\"', "g");
|
||||
|
||||
if (!stdoutFile || !stderrFile) // FIXME: error reporting
|
||||
return "";
|
||||
|
||||
Reference in new issue
Block a user