Laravel 5: Display HTML with Blade

后端 未结 20 2189
栀梦
栀梦 2020-11-22 16:21

I have a string returned to one of my views, like this:

$text = \'

Lorem ipsum dolor

20条回答
  •  情歌与酒
    2020-11-22 16:50

    you can do with many ways in laravel 5..

    {!! $text !!}
    
    {!! html_entity_decode($text) !!}
    

提交回复
热议问题