summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/matrix.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/matrix.js b/js/matrix.js
index 4f3f870..33c0b00 100644
--- a/js/matrix.js
+++ b/js/matrix.js
@@ -188,7 +188,7 @@ Matrix.prototype.irssi = function(){
.replace(/\'/g, '\\\'')
.replace(/\`/g, '\\\`')
.replace(/\$/g, '\\$')
- // .replace(/\s+\n/g, '\n')
+ .replace(/\n\s+/g, '\n')
// .replace(/\s+$/g, '\n')
// .replace(/^\n+/, '')
.replace(/\n/g, '\\n')