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 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'
}