Andy Neillans 1 год назад
Родитель
Сommit
e9d9c4d8cc
1 измененных файлов с 1 добавлено и 1 удалено
  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()}}">