Skip to content

Commit

Permalink
not sure if necessary..?
Browse files Browse the repository at this point in the history
  • Loading branch information
notbakaneko committed Sep 20, 2023
1 parent 0a00c5a commit c6f233f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ public function show($id, $mode = null)
'user' => $userArray,
];

$pageDescription = $user->toMetaDescription(['mode' => $currentMode]);
$pageDescription = blade_safe($user->toMetaDescription(['mode' => $currentMode]));

return ext_view('users.show', compact('initialData', 'pageDescription', 'mode', 'user'));
}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/users/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'canonicalUrl' => $user->url($mode),
'titlePrepend' => blade_safe(str_replace(' ', ' ', e($user->username))),
'opengraph' => [
'title' => osu_trans('users.show.title', ['username' => $user->username]),
'title' => blade_safe(osu_trans('users.show.title', ['username' => $user->username])),
'image' => $user->user_avatar,
]
])
Expand Down

0 comments on commit c6f233f

Please sign in to comment.