From 73615d7a790ffac70720369948545d0173c30852 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 10 Sep 2016 10:07:56 +0200 Subject: [PATCH] Newlines and paragraphs in local statuses properly formatted --- app/lib/formatter.rb | 1 + 1 file changed, 1 insertion(+) 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)