Skip to content

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

@szwss

Description

@szwss

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions