From 27d67e2d5cc786c83f56e96573a8692fa763fbcc Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 15 Jul 2019 13:52:58 -0500 Subject: [PATCH] sanitize bio formatting! --- app/lib/formatter.rb | 1 + 1 file changed, 1 insertion(+) 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