Newlines and paragraphs in local statuses properly formatted

This commit is contained in:
Eugen Rochko 2016-09-10 10:07:56 +02:00
parent 76c40cbfb1
commit 73615d7a79

View File

@ -11,6 +11,7 @@ class Formatter
html = status.text html = status.text
html = encode(html) html = encode(html)
html = simple_format(html, sanitize: false)
html = link_urls(html) html = link_urls(html)
html = link_mentions(html, status.mentions) html = link_mentions(html, status.mentions)