mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-20 04:07:45 +00:00
Newlines and paragraphs in local statuses properly formatted
This commit is contained in:
parent
76c40cbfb1
commit
73615d7a79
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue