Laravel 5: Display HTML with Blade

后端 未结 20 2414
栀梦
栀梦 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:57

    You can try this:

    {!! $text !!}
    

    You should have a look at: http://laravel.com/docs/5.0/upgrade#upgrade-5.0

提交回复
热议问题