Skip to content
Snippets Groups Projects
Commit e26d5ca9 authored by vpzomtrrfrt's avatar vpzomtrrfrt Committed by Eugen Rochko
Browse files

Don't escape statuses while truncating (#6671)

parent dd9d00d2
No related branches found
No related tags found
No related merge requests found
- 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment