diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-09-15 11:32:08 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-09-15 11:32:08 -0500 |
commit | 06bce922dad2df14c4610404c9f9ae9db6167bda (patch) | |
tree | 863bae4afcbba8569561092856c0694ae9b4d5c4 /app | |
parent | cb866b4201149e1f68406194e6d0869b1d1640a0 (diff) |
make out-of-body tags actually out of body
Diffstat (limited to 'app')
-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 |