jawee / language-blade

Blade (Laravel) templating support in Atom
https://atom.io/packages/language-blade
Other
51 stars 21 forks source link

Using @php within html element breaks coloring for following elements #87

Closed ghost closed 6 years ago

ghost commented 6 years ago

When @php is used within an HTML element itself, all following elements change color as if there is a "gap" or missing code.

Example: <body @php body_class() @endphp>

"Body" is in red, but all other html tags, including the ending </body> tag become orange (or some other color depending on theme)

screen shot 2018-08-13 at 10 16 24 am