don't include parent components of scoped tags in folded tag list
parent
5e3a120120
commit
efcd176d58
|
@ -239,7 +239,8 @@ class Formatter
|
|||
end
|
||||
|
||||
unless status.tags.blank?
|
||||
tags = encode_and_link_urls(status.tags.pluck(:name).sort.map{ |t| "##{t}" }.join(' '))
|
||||
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>"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue