I'm developing a blade view
on Laravel 5.4 which tests if a variable is set. If it is not set, the blade
must present a little piece of html code placed into it. The problem is Laravel ignores or doesn't recognize the @isset
directive rendering the string as if it was a simple html code. See the picture:
I have done a ugly workaround using @if(! empty($test) )
. And I already tried to clean the cache with php artisan cache:clear
.
Did someone know something that can cause this problem? Thanks a lot!