Blade escapes all output by default. If you want to not to do that, you should use this:
{!! $category->name !!}
micahaza said:
Blade escapes all output by default. If you want to not to do that, you should use this:
{!! $category->name !!}
thank, I'll try it
Interesting, the web is full of Laravel 4 recipes with statements like this: {{ HTML::style('css/bootstrap.css') }}
Is this quoting a new default introduced in Laravel 5?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community