1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-28 14:58:38 +09:00

Add simple_format to simplified_format (#2198)

This commit is contained in:
178inaba 2017-04-23 21:23:27 +09:00 committed by Eugen
parent a9a4710fe1
commit 1244630ab4

View File

@ -35,6 +35,8 @@ class Formatter
return reformat(account.note) unless account.local?
html = encode_and_link_urls(account.note)
html = simple_format(html, {}, sanitize: false)
html = html.delete("\n")
html = link_accounts(html)
html = link_hashtags(html)