My records in db is like this :
I want to display with space
I try like this :
{{ nl2br($text) }}
and
{{ nl2br(e($text)) }}
It does not work
How can I solve it?
My records in db is like this :
I want to display with space
I try like this :
{{ nl2br($text) }}
and
{{ nl2br(e($text)) }}
It does not work
How can I solve it?
have you tried using {!! !!} here you can use HTML entity  
you can create a helper like this
$output = nl2br(str_replace(" ", " ", $db_record));
Then your blade file {!! $output !!};