summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/matrix.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/matrix.js b/js/matrix.js
index a8ac200..4f3f870 100644
--- a/js/matrix.js
+++ b/js/matrix.js
@@ -157,7 +157,7 @@ Matrix.prototype.ascii = function () {
row.forEach(function(lex, x) {
line += lex.ascii()
})
- return line.replace(/\s+$/,"")
+ return line // .replace(/\s+$/,"")
})
var txt = lines.join("\n")
return txt
@@ -188,9 +188,9 @@ Matrix.prototype.irssi = function(){
.replace(/\'/g, '\\\'')
.replace(/\`/g, '\\\`')
.replace(/\$/g, '\\$')
- .replace(/\s+\n/g, '\n')
- .replace(/\s+$/g, '\n')
- .replace(/^\n+/, '')
+ // .replace(/\s+\n/g, '\n')
+ // .replace(/\s+$/g, '\n')
+ // .replace(/^\n+/, '')
.replace(/\n/g, '\\n')
.replace(/\x02/g, '\\x02')
.replace(/\x03/g, '\\x03')