about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-15 13:52:58 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-15 14:12:24 -0500
commit27d67e2d5cc786c83f56e96573a8692fa763fbcc (patch)
tree7b8a7f6a32cd27cb65ea2d2a3bfd64357fc13036 /app
parent441bead7ba6ab7e19e5d3d310a71c48558a970ae (diff)
sanitize bio formatting!
Diffstat (limited to 'app')
-rw-r--r--app/lib/formatter.rb1
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