Skip to content

Releases: motet-a/jinjalint

v0.5

10 Nov 07:17
Compare
Choose a tag to compare
  • c60bea7: Fix a few edge cases with attribute parsing.

  • 402130a: Fix parser bug with some tags like <colgroup>, tags beginning with col or br were parsed incorrectly.

v0.3

04 Nov 14:51
Compare
Choose a tag to compare
  • 0abd2c2: Optional Jinja containers support:
{% if something %}<a href="somewhere">{% endif %}
    <p>something</p>
{% if something %}</a>{% endif %}

This pattern is pretty common in real-world projects. I finally found a way to parse it.

  • fa60351, #11: Jinja whitespace control syntax support:
{%- foo -%}
{%- foo %}
{{- bar -}}
{{ bar -}}
{%+ foo %}
{{+ bar }}

There is no such thing in the Django flavor.