samuelcolvin / jinjahtml-vscode

Syntax highlighting for jinja(2) html templates in vscode
https://marketplace.visualstudio.com/items?itemName=samuelcolvin.jinjahtml
MIT License
135 stars 53 forks source link

highlight wrong in Jinja HTML #71

Closed a08381 closed 4 years ago

a08381 commented 4 years ago

i have type these code in vscode

{% extends "base.html" %}

{% block head %}
    <style type="text/css">
        body {
            background: url({{ url_for('static', filename='background.jpg') }}) no-repeat;
            background-size: cover;
        }
    </style>
{% endblock head %}

{% block body %}

{% endblock body %}

and it seens wrong after line 6.

捕获