I want remove HTML tags (all) from a string on laravel blade ...
code
{!! \Illuminate\Support\Str::words($subject->body, 5,'...') !!}
output (example)
<p>hassen zouari</p>
I want that it be like this
hassen zouari
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1SeDsU9
via IFTTT
Aucun commentaire:
Enregistrer un commentaire