Linked Questions

Popular Questions

Remove HTML tags from Strings on laravel blade

Asked by At

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

Related Questions