Skip to content

Commit

Permalink
Update app/helpers/admin/trends/statuses_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Ember-ruby committed Apr 28, 2024
1 parent 1e36e17 commit 1284411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/admin/trends/statuses_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def multi_line_preview(status)
text = if status.local?
status.text.split("\n")
else
Nokogiri::HTML(status.text).css('html > body > *').first&.text
Nokogiri::HTML(status.text).text
end

return '' if text.blank?
Expand Down

0 comments on commit 1284411

Please sign in to comment.