commit: 73615d7a790ffac70720369948545d0173c30852
parent: 76c40cbfb1387e51b57e61dd79bfa43b78322d44
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Sat, 10 Sep 2016 10:07:56 +0200
Newlines and paragraphs in local statuses properly formatted
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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)