Blade view for rich text field on description tag

  laravel, laravel-blade, rich, text

I’m using voyager in a laravel 7 shopping app for the description of all products.

I want to output the field for the description of the product

@section('description', {!! $item->description !!} )


for the facebook share = og:description" content="{!! $item->description !!}">

When I use {!! $item->description !!} in the body, no problem. But in the tag the output always read the p tag and all style form the description.

The weird thing is it’s working find on localhost but not on the server. I tried various combination of solution with the same result. I feel there’s a quick or maybe it’s just not possible?

Thanks for any help I can get

Source: Laravel

Leave a Reply