Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
szwss opened this issue Nov 27, 2021 · 0 comments
Open

Comments

@szwss
Copy link

szwss commented Nov 27, 2021

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 szwss changed the title > is changed to ' >' causing the page syntax error: > is changed to ' >' in the view file,causing the page syntax error: Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant