From 1e8e5b55ad2d1f4bbb5b4d7758b691fa99e2891a Mon Sep 17 00:00:00 2001 From: Jules Date: Sun, 24 May 2015 17:17:54 -0400 Subject: fix irssi export --- js/matrix.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/matrix.js') 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' } -- cgit v1.2.3-70-g09d2