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

lolsob-rspec
unarist 2017-10-07 03:38:29 +09:00 committed by Eugen Rochko
parent 31501f47c5
commit 617bc216b8
1 changed files with 1 additions and 1 deletions

View File

@ -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)