Fix titles being escaped twice (#32889)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
- content_for :page_title do
|
||||
= t('about.title')
|
||||
- content_for :page_title, t('about.title')
|
||||
|
||||
- content_for :header_tags do
|
||||
= render partial: 'shared/og'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
- content_for :page_title do
|
||||
#{display_name(@account)} (#{acct(@account)})
|
||||
- content_for :page_title, "#{display_name(@account)} (#{acct(@account)})"
|
||||
|
||||
- content_for :header_tags do
|
||||
- if @account.user_prefers_noindex?
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
- content_for :page_title do
|
||||
= t('privacy_policy.title')
|
||||
- content_for :page_title, t('privacy_policy.title')
|
||||
|
||||
- content_for :header_tags do
|
||||
= render partial: 'shared/og'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
- content_for :page_title do
|
||||
= t('statuses.title', name: display_name(@account), quote: truncate(@status.spoiler_text.presence || @status.text, length: 50, omission: '…', escape: false))
|
||||
- content_for :page_title, t('statuses.title', name: display_name(@account), quote: truncate(@status.spoiler_text.presence || @status.text, length: 50, omission: '…', escape: false))
|
||||
|
||||
- content_for :header_tags do
|
||||
- if @account.user_prefers_noindex?
|
||||
|
||||
Reference in New Issue
Block a user