aboutsummaryrefslogtreecommitdiffstats
path: root/twitter.js
diff options
context:
space:
mode:
Diffstat (limited to 'twitter.js')
-rw-r--r--twitter.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/twitter.js b/twitter.js
index 64a972e..ba4cec1 100644
--- a/twitter.js
+++ b/twitter.js
@@ -42,7 +42,8 @@
border="0"/>
<strong>{stat.user.name}</strong>
: {stat.text}<br/>
- </>.toSource();
+ </>.toSource()
+ .replace(/(?:\r?\n|\r)\s*/g, '');
});
liberator.log(html);
liberator.echo(html, true);