diff --git a/.haml-lint_todo.yml b/.haml-lint_todo.yml index f9debfd129..94aeadfff0 100644 --- a/.haml-lint_todo.yml +++ b/.haml-lint_todo.yml @@ -1,16 +1,12 @@ # This configuration was generated by # `haml-lint --auto-gen-config` -# on 2023-07-17 09:59:21 -0400 using Haml-Lint version 0.48.0. +# on 2023-07-17 12:00:21 -0400 using Haml-Lint version 0.48.0. # The point is for the user to remove these configuration records # one by one as the lints are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of Haml-Lint, may require this file to be generated again. linters: - # Offense count: 69 - RuboCop: - enabled: false - # Offense count: 959 LineLength: enabled: false @@ -19,6 +15,10 @@ linters: UnnecessaryStringOutput: enabled: false + # Offense count: 67 + RuboCop: + enabled: false + # Offense count: 3 ViewLength: exclude: diff --git a/app/views/accounts/_og.html.haml b/app/views/accounts/_og.html.haml index 6350d7ed0f..1a06be6cc8 100644 --- a/app/views/accounts/_og.html.haml +++ b/app/views/accounts/_og.html.haml @@ -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..] diff --git a/app/views/statuses/show.html.haml b/app/views/statuses/show.html.haml index cb6b4c6193..08bab63073 100644 --- a/app/views/statuses/show.html.haml +++ b/app/views/statuses/show.html.haml @@ -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