sanitize bio formatting!

staging
multiple creatures 2019-07-15 13:52:58 -05:00
parent 441bead7ba
commit 27d67e2d5c
1 changed files with 1 additions and 0 deletions

View File

@ -276,6 +276,7 @@ class Formatter
return reformat(account.note) unless account.local?
html = format_bbdown(account.note)
html = encode_and_link_urls(html, keep_html: true)
html = reformat(html)
html = encode_custom_emojis(html, account.emojis, options[:autoplay]) if options[:custom_emojify]
html.html_safe # rubocop:disable Rails/OutputSafety
end