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
|
@ -3,6 +3,6 @@
|
|||
> ----
|
||||
>
|
||||
<% end %>
|
||||
> <%= raw word_wrap(extract_plain_text(status.text, status.local?), break_sequence: "\n> ") %>
|
||||
> <%= raw word_wrap(extract_status_plain_text(status), break_sequence: "\n> ") %>
|
||||
|
||||
<%= raw t('application_mailer.view')%> <%= web_url("statuses/#{status.id}") %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue