almahdi404 / code-django

The ultimate django framework support

Home Page:https://marketplace.visualstudio.com/items?itemName=almahdi.code-django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Style tag with Django template syntax inside has highlighting issues even though valid code

iamalexpayne opened this issue · comments

It is not caused by code-django.

Actually it's style attribute syntax which is overriding the code-django highlighting and showing the errors.

You can fix the highlighting by disabling bracketPairColorization

"[html]": {
  "editor.bracketPairColorization.enabled": false
}

But the problems(curly line) will remain.

This is how vscode expects the style attribute value syntax to be

<div style="a{color:red}">