diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-22 18:50:58 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-22 18:50:58 -0500 |
| commit | ee97b5dca9f787e7d9ea26f1110d6f74f274c297 (patch) | |
| tree | 64808a895908155eb3a1b05cdd519f204c83ac47 /js/matrix.js | |
| parent | 5907322e23673884ceb48d2a07f930337bdf18db (diff) | |
quote quotes
Diffstat (limited to 'js/matrix.js')
| -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 87cb0fe..4f548c5 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+$/,"") + return line.replace(/\s+$/,"").replace(/\'/g, "\\\'") }).filter(function(line){ return line.length > 0 }) var txt = '/exec -out printf "' + lines.join("\\n") + '"\n' return txt |
