diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-19 19:30:48 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-19 19:31:19 -0500 |
commit | 348dd5aa351f0eb7ec910f0248505b930398fb59 (patch) | |
tree | 9a9eb31fdea753f96ba8b758ad8bbac14c52f518 /app/lib | |
parent | 2f8ac8838da4af3de8885b0b4ee88729eb9f4ca0 (diff) |
always show out-of-body tags for better accessibility
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/formatter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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}<details class=\"tags\"><summary>\xf0\x9f\x8f\xb7</summary><p class=\"tags\">#{tags}</p></details>" + html = "#{html}<p class=\"tags\">#{tags} \xf0\x9f\x8f\xb7</p>" end html.html_safe # rubocop:disable Rails/OutputSafety |