Fix haml-lint Rubocop Style/SlicingWithRange
cop (#25947)
This commit is contained in:
parent
a442a1d1c6
commit
4207c95d4f
3 changed files with 7 additions and 7 deletions
|
@ -10,4 +10,4 @@
|
|||
= opengraph 'og:image:width', '400'
|
||||
= opengraph 'og:image:height', '400'
|
||||
= opengraph 'twitter:card', 'summary'
|
||||
= opengraph 'profile:username', acct(account)[1..-1]
|
||||
= opengraph 'profile:username', acct(account)[1..]
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
= opengraph 'og:title', "#{display_name(@account)} (#{acct(@account)})"
|
||||
= opengraph 'og:url', short_account_status_url(@account, @status)
|
||||
= opengraph 'og:published_time', @status.created_at.iso8601
|
||||
= opengraph 'profile:username', acct(@account)[1..-1]
|
||||
= opengraph 'profile:username', acct(@account)[1..]
|
||||
|
||||
= render 'og_description', activity: @status
|
||||
= render 'og_image', activity: @status, account: @account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue