laravel-db-blade-compiler icon indicating copy to clipboard operation
laravel-db-blade-compiler copied to clipboard

> is changed to ' >' in the view file,causing the page syntax error:

Open szwss opened this issue 4 years ago • 0 comments

When I write php code in html, there is no problem with simple code.

But after I write it:

{!! Form::radios('status', ['a' => 'Active', 'i' => 'Inactive']) !!}

the > in the view file is changed be '&gt';

so the page is cast syntax error:

Illuminate \ View \ ViewException (E_ERROR)
syntax error, unexpected '=', expecting ']' (View: )
Previous exceptions

Is there any way to solve this problem?

szwss avatar Nov 27 '21 08:11 szwss