GingerBear / vscode-liquid

vscode liquid language support
MIT License
26 stars 9 forks source link

Issue with inline styling in VS Code .liquid file #21

Open sthompson-establishedWeb opened 3 years ago

sthompson-establishedWeb commented 3 years ago

This issue was originally posted in Microsoft / vscode but has been moved to GingerBear / vscode-liquid The liquid languages support extension is enabled

<h3 style="text-align:center">Instagram</h3>

The above element's property and value is not recognized / formatted correctly by the editor. The property / value between the quotations does not become the right color, and the open quote is a different color than the close quote (Only the open quote is the correct color / being recognized correctly).

<h3 class="text-align:center">Instagram</h3>

While the above element / attribute doesn't quite make sense, it does help illustrate a point. When the element is changed from -style- to -class- everything is formatted correctly in the editor.