diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-22 20:56:18 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-22 20:56:18 -0500 |
| commit | 463e30eb8f15d90b3f6b45fd34f814689306a47f (patch) | |
| tree | d153461f8feb796df90f88b615d6b7c60cfb966a | |
| parent | ee733a92d317f37e3bd72002de10d5ddac9010c4 (diff) | |
quote backtick also
| -rw-r--r-- | js/matrix.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/matrix.js b/js/matrix.js index 1a39742..5cecfed 100644 --- a/js/matrix.js +++ b/js/matrix.js @@ -97,7 +97,7 @@ Matrix.prototype.ascii = function () { } }) if (last && ! last.isClear()) { line += "\\x03" } - return line.replace(/\s+$/,"").replace(/\"/g, '\\\"') + return line.replace(/\s+$/,"").replace(/\"/g, '\\\"').replace(/\`/g, '\\\`') }).filter(function(line){ return line.length > 0 }) var txt = '/exec -out printf "' + lines.join("\\n") + '"\n' return txt |
