Explorar o código

Strip tags from bio in embeds

Andy Neillans hai 1 ano
pai
achega
e9d9c4d8cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()}}">