# HG changeset patch
# User nanaya
# Date 1448900842 -32400
# Node ID eecb35eac2f36f37596de809de0444f8b70371bc
# Parent a20bbd1e2dc124faaed04a8b00729aaec6a3796a
Replace `\n` with newlines
Replicates what the actual client do. Of course comes with possible trollings.
diff -r a20bbd1e2dc1 -r eecb35eac2f3 app/views/tweets/_tweet.html.erb
--- a/app/views/tweets/_tweet.html.erb Tue Dec 01 01:24:34 2015 +0900
+++ b/app/views/tweets/_tweet.html.erb Tue Dec 01 01:27:22 2015 +0900
@@ -13,7 +13,7 @@
/
- <%= auto_link(tweet.text).html_safe %>
+ <%= auto_link(tweet.text).gsub("\n", "
").html_safe %>