From 348dd5aa351f0eb7ec910f0248505b930398fb59 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 19 Jul 2019 19:30:48 -0500 Subject: always show out-of-body tags for better accessibility --- app/lib/formatter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib/formatter.rb') diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index 326f0655b..7623f0acd 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -241,7 +241,7 @@ class Formatter 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}
\xf0\x9f\x8f\xb7

#{tags}

" + html = "#{html}

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

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