Sfoglia il codice sorgente

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

master
unarist 6 anni fa
committed by Eugen Rochko
parent
commit
d8b2f89d33
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app/lib/formatter.rb

+ 1
- 1
app/lib/formatter.rb Vedi 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)


Caricamento…
Annulla
Salva