mirror of https://github.com/pixelfed/pixelfed.git
Merge pull request #4698 from aneillans/strip-profile-tags-embed
Strip tags from bio in embeds
This commit is contained in:
commit
1be012e439
|
@ -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 New Issue