pushqrdx / vscode-inline-html

🎨 Adding Syntax Highlighting, Emmet, IntelliSense support for ES6 Template Strings in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=pushqrdx.inline-html
GNU General Public License v3.0
54 stars 15 forks source link

fix: Allow non-whitespace before html tag #23

Closed P-Froggy closed 2 years ago

P-Froggy commented 2 years ago

This extension previously did not highlight template literals if there was no space before the html tag, for example in chained functions.

With this change it now allows cases like this.

Before:

image

After:

image
pushqrdx commented 2 years ago

LGTM, thanks for the PR!