diff options
author | vpzomtrrfrt <vpzomtrrfrt@gmail.com> | 2018-03-06 23:12:01 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-03-07 07:12:01 +0100 |
commit | e26d5ca923353c9cd61073c444c0841bae4b9664 (patch) | |
tree | 297846995122b46ec83eb0baa74840e038a55ba8 | |
parent | dd9d00d293c127fd84183e4fc30690aea4913e02 (diff) |
Don't escape statuses while truncating (#6671)
-rw-r--r-- | app/views/stream_entries/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stream_entries/show.html.haml b/app/views/stream_entries/show.html.haml index cf6671e67..a87c51952 100644 --- a/app/views/stream_entries/show.html.haml +++ b/app/views/stream_entries/show.html.haml @@ -1,5 +1,5 @@ - content_for :page_title do - = t('statuses.title', name: display_name(@account), quote: truncate(@stream_entry.activity.spoiler_text.presence || @stream_entry.activity.text, length: 50, omission: '…')) + = t('statuses.title', name: display_name(@account), quote: truncate(@stream_entry.activity.spoiler_text.presence || @stream_entry.activity.text, length: 50, omission: '…', escape: false)) - content_for :header_tags do - if @account.user&.setting_noindex |