about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/formatter.rb4
1 files changed, 2 insertions, 2 deletions
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}<p class=\"signature\">— #{footer}</p>"
+      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}<p class=\"tags\">#{tags} \xf0\x9f\x8f\xb7</p>"
+      html = "#{html.strip}\n<p class=\"tags\">#{tags} \xf0\x9f\x8f\xb7</p>"
     end
 
     html.html_safe # rubocop:disable Rails/OutputSafety