summaryrefslogtreecommitdiff
path: root/js/matrix.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/matrix.js')
-rw-r--r--js/matrix.js4
1 files changed, 2 insertions, 2 deletions
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"
}