Skip to content
Snippets Groups Projects
Commit 1244630a authored by 178inaba's avatar 178inaba Committed by Eugen
Browse files

Add simple_format to simplified_format (#2198)

parent a9a4710f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment