Merge commit '2caa3f365ded73be17b623177967110e66f14061' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2024-09-09 18:22:41 +02:00
129 changed files with 547 additions and 232 deletions

View File

@@ -5,7 +5,7 @@ module Admin::Trends::StatusesHelper
text = if status.local?
status.text.split("\n").first
else
Nokogiri::HTML(status.text).css('html > body > *').first&.text
Nokogiri::HTML5(status.text).css('html > body > *').first&.text
end
return '' if text.blank?