diff options
| author | Jules <jules@asdf.us> | 2015-05-24 17:17:54 -0400 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2015-05-24 17:17:54 -0400 |
| commit | 1e8e5b55ad2d1f4bbb5b4d7758b691fa99e2891a (patch) | |
| tree | facb44bd7ea6b27298c824c6c235d5e0a2488597 /js/matrix.js | |
| parent | 462b2ed2fa649be9cf345a2ead175979de0106a6 (diff) | |
fix irssi export
Diffstat (limited to 'js/matrix.js')
| -rw-r--r-- | js/matrix.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/matrix.js b/js/matrix.js index 9f89643..9ec3a06 100644 --- a/js/matrix.js +++ b/js/matrix.js @@ -220,7 +220,7 @@ Matrix.prototype.irssi = function(){ // .replace(/\%/g, '%%') .replace(/\\/g, '\\x5C') .replace(/\"/g, '\\\"') - .replace(/\'/g, '\\\'') + // .replace(/\'/g, '\\\'') .replace(/\`/g, '\\\`') .replace(/\$/g, '\\$') // .replace(/\n\s+/g, '\n') @@ -247,5 +247,5 @@ Matrix.prototype.irssi = function(){ escaped_txt += txt[i] } } - return "/exec -out printf '%b' '" + escaped_txt + "'\n" + return '/exec -out printf "%b" "' + escaped_txt + '"\n' } |
