Browse Source

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

Strip tags from bio in embeds
daniel 1 year ago
parent
commit
1be012e439
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/profile/show.blade.php

+ 1 - 1
resources/views/profile/show.blade.php

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