From 463e30eb8f15d90b3f6b45fd34f814689306a47f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 22 Nov 2014 20:56:18 -0500 Subject: quote backtick also --- js/matrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2