1
0
Fork 0

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

Strip tags from bio in embeds
This commit is contained in:
daniel 2023-10-24 19:59:28 -06:00 committed by GitHub
commit 1be012e439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()}}">