1
0
Fork 0
forked from mirror/pixelfed

Strip tags from bio in embeds

This commit is contained in:
Andy Neillans 2023-10-11 19:08:22 +01:00
parent 2fa595d2cf
commit e9d9c4d8cc

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