Merge pull request #4698 from aneillans/strip-profile-tags-embed

Strip tags from bio in embeds
pull/4717/head
daniel 2023-10-24 19:59:28 -06:00 zatwierdzone przez GitHub
commit 1be012e439
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@
@endsection
@push('meta')<meta property="og:description" content="{{$profile->bio}}">
@push('meta')<meta property="og:description" content="{{strip_tags($profile->bio)}}">
@if(false == $settings['crawlable'] || $profile->remote_url)
<meta name="robots" content="noindex, nofollow">
@else <meta property="og:image" content="{{$profile->avatarUrl()}}">