about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-10 10:07:56 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-10 10:07:56 +0200
commit73615d7a790ffac70720369948545d0173c30852 (patch)
tree7677e743c34082d0bb709fbf2b4bc339f4ca0d1f /app
parent76c40cbfb1387e51b57e61dd79bfa43b78322d44 (diff)
Newlines and paragraphs in local statuses properly formatted
Diffstat (limited to 'app')
-rw-r--r--app/lib/formatter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb
index a71cdd760..12b141e7e 100644
--- a/app/lib/formatter.rb
+++ b/app/lib/formatter.rb
@@ -11,6 +11,7 @@ class Formatter
 
     html = status.text
     html = encode(html)
+    html = simple_format(html, sanitize: false)
     html = link_urls(html)
     html = link_mentions(html, status.mentions)