logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: d8b2f89d33580045aa3115a86b2a9709760e595a
parent: d5f490b1a2c77a755ae4bd2e73a15a7567eda4c1
Author: unarist <m.unarist@gmail.com>
Date:   Sat,  7 Oct 2017 03:38:29 +0900

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


Diffstat:

Mapp/lib/formatter.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb @@ -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)