Refactor account and status formatting (#17877)
* Refactor status formatting * Add account formatting helpers * Remove StatusFormatter * Fixup * Fix copied typo
This commit is contained in:
parent
e6a159a648
commit
2c45859ca9
11 changed files with 26 additions and 16 deletions
|
@ -446,7 +446,7 @@ class FeedManager
|
|||
status = status.reblog if status.reblog?
|
||||
|
||||
combined_text = [
|
||||
extract_plain_text(status.text, status.local?),
|
||||
extract_status_plain_text(status),
|
||||
status.spoiler_text,
|
||||
status.preloadable_poll ? status.preloadable_poll.options.join("\n\n") : nil,
|
||||
status.ordered_media_attachments.map(&:description).join("\n\n"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue