Skip to content
Snippets Groups Projects
Commit d8b2f89d authored by unarist's avatar unarist Committed by Eugen Rochko
Browse files

Fix remote profile being displayed in HTML on remote_follow (#5249)

parent d5f490b1
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ class Formatter
end
def simplified_format(account)
return reformat(account.note) unless account.local?
return reformat(account.note).html_safe unless account.local? # rubocop:disable Rails/OutputSafety
html = encode_and_link_urls(account.note)
html = simple_format(html, {}, sanitize: false)
......
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