forked from mirror/pixelfed
Strip tags from bio in embeds
This commit is contained in:
parent
2fa595d2cf
commit
e9d9c4d8cc
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
@endsection
|
@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)
|
@if(false == $settings['crawlable'] || $profile->remote_url)
|
||||||
<meta name="robots" content="noindex, nofollow">
|
<meta name="robots" content="noindex, nofollow">
|
||||||
@else <meta property="og:image" content="{{$profile->avatarUrl()}}">
|
@else <meta property="og:image" content="{{$profile->avatarUrl()}}">
|
||||||
|
|
Loading…
Reference in a new issue