I have a string returned to one of my views, like this:
$text = \'Lorem ipsum dolor
You can do that using three ways first use if condition like below
{!! $text !!}
The is Second way
@if( $order->status == '0' )
@else
@endif
The third and proper way for use ternary operator on blade
{!! $order->status=='0' ?
' :
' !!}
I hope the third way is perfect for used ternary operator on blade.