mjbvz / vscode-lit-html

Adds syntax highlighting for html inside of JavaScript and TypeScript tagged template strings
https://marketplace.visualstudio.com/items?itemName=bierner.lit-html
MIT License
318 stars 75 forks source link

Format code does not work if a style element is added #59

Closed chaspi closed 5 years ago

chaspi commented 5 years ago

When using a style element inside the literal the code formatter stopps working. As soon the style element is removed the formatter works again.

html`
    <style></style>
    <div>
        <div>test</div>
    </div>
`
mjbvz commented 5 years ago

Duplicate of https://github.com/Microsoft/typescript-lit-html-plugin/issues/16