From 06bce922dad2df14c4610404c9f9ae9db6167bda Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 15 Sep 2019 11:32:08 -0500 Subject: make out-of-body tags actually out of body --- app/lib/formatter.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index 2f00a4714..b405a4e08 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -251,12 +251,6 @@ class Formatter html = "#{html.strip}\n

— #{footer}

" end - unless status.tags.blank? - tags = status.tags.pluck(:name).reject { |t| t.end_with?('.') }.map{ |t| "##{t}" } - tags = encode_and_link_urls(tags.join(' ')) - html = "#{html.strip}\n

#{tags} \xf0\x9f\x8f\xb7

" - end - html = html.html_safe # rubocop:disable Rails/OutputSafety Rails.cache.write("formatted_status:#{orig_status.id}", html, expires_in: CACHE_TIME) html -- cgit