tootlab-mastodon/app/views/notification_mailer/_status.text.erb

9 lines
282 B
Plaintext

<% if status.spoiler_text? %>
> <%= raw word_wrap(status.spoiler_text, break_sequence: "\n> ") %>
> ----
>
<% end %>
> <%= raw word_wrap(Formatter.instance.plaintext(status), break_sequence: "\n> ") %>
<%= raw t('application_mailer.view')%> <%= web_url("statuses/#{status.id}") %>