diff options
-rw-r--r-- | app/lib/formatter.rb | 6 |
1 files changed, 0 insertions, 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<p class=\"signature\">— #{footer}</p>" 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<p class=\"tags\">#{tags} \xf0\x9f\x8f\xb7</p>" - end - html = html.html_safe # rubocop:disable Rails/OutputSafety Rails.cache.write("formatted_status:#{orig_status.id}", html, expires_in: CACHE_TIME) html |