From: Eugen Rochko Date: Sat, 10 Sep 2016 08:07:56 +0000 (+0200) Subject: Newlines and paragraphs in local statuses properly formatted X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=73615d7a790ffac70720369948545d0173c30852;p=mastodon.git Newlines and paragraphs in local statuses properly formatted --- 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)