Jinjalint

Latest version: v0.5

Safety actively analyzes 619504 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.5

- c60bea79e5087e2f01225141e8c09a596aaf4856: Fix a few edge cases with attribute parsing.

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

0.3

- 0abd2c21263b2a266d44acd7b562cd210bd19ea7: Optional Jinja containers support:

html
{% 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.

- fa60351f59e6eee82f52c3ff1a894f140768e781, 11: Jinja whitespace control syntax support:

html
{%- foo -%}
{%- foo %}
{{- bar -}}
{{ bar -}}
{%+ foo %}
{{+ bar }}


There is no such thing in the Django flavor.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.