From 36c7df9c9c680d6b6639654e0a28a435e48facf5 Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Sat, 23 May 2015 23:20:50 +0200 Subject: test2 --- 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 bafe35a..9f89643 100644 --- a/js/matrix.js +++ b/js/matrix.js @@ -217,7 +217,7 @@ Matrix.prototype.mirc = function () { } Matrix.prototype.irssi = function(){ var txt = this.mirc() - .replace(/\%/g, '%%') + // .replace(/\%/g, '%%') .replace(/\\/g, '\\x5C') .replace(/\"/g, '\\\"') .replace(/\'/g, '\\\'') @@ -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