mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 00:54:49 +01:00
Add simple_format to simplified_format (#2198)
This commit is contained in:
parent
a9a4710fe1
commit
1244630ab4
@ -35,6 +35,8 @@ class Formatter
|
|||||||
return reformat(account.note) unless account.local?
|
return reformat(account.note) unless account.local?
|
||||||
|
|
||||||
html = encode_and_link_urls(account.note)
|
html = encode_and_link_urls(account.note)
|
||||||
|
html = simple_format(html, {}, sanitize: false)
|
||||||
|
html = html.delete("\n")
|
||||||
html = link_accounts(html)
|
html = link_accounts(html)
|
||||||
html = link_hashtags(html)
|
html = link_hashtags(html)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user