diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index 7623f0acd..590846acb 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -235,13 +235,13 @@ class Formatter footer = status.footer footer = encode_and_link_urls(footer) footer = encode_custom_emojis(footer, status.emojis, options[:autoplay]) if options[:custom_emojify] - html = "#{html.strip}

— #{footer}

" + 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}

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

" + html = "#{html.strip}\n

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

" end html.html_safe # rubocop:disable Rails/OutputSafety