diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-15 13:52:58 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-15 14:12:24 -0500 |
commit | 27d67e2d5cc786c83f56e96573a8692fa763fbcc (patch) | |
tree | 7b8a7f6a32cd27cb65ea2d2a3bfd64357fc13036 | |
parent | 441bead7ba6ab7e19e5d3d310a71c48558a970ae (diff) |
sanitize bio formatting!
-rw-r--r-- | app/lib/formatter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index 9e06bcd4f..f859a2705 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -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 |