laravel-blade-snippets-vscode icon indicating copy to clipboard operation
laravel-blade-snippets-vscode copied to clipboard

EMMET Issue When Dealing With Greater Than Symbol in Blade Control Structure

Open sergebenard opened this issue 7 years ago • 1 comments
trafficstars

Issue: If a Smaller Than symbol (<) is used in a Blade Control Structure, the following code will not be parsed properly by EMMET.

To Reproduce: Use a Smaller Than symbol (<) in Blade Control Structure.

@if ( count( $questions ) < 1 )

Type any kind of HTML code after the Blade Control Structure. The only EMMET suggestions which appear are for HTML attributes, not HTML tags.

image

If Smaller Than symbol is removed from the Blade Control Structure, EMMET suggestions work as expected.

image

Conclusion: It appears the Smaller Than symbol is parsed as an opening HTML tag by EMMET.

sergebenard avatar Jul 31 '18 16:07 sergebenard

Same issue over here

grinsteindavid avatar Aug 03 '18 00:08 grinsteindavid