- 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.