djust 0.3.3rc3

Pre-releaseReleased

Fixed

  • #382: {% elif %} inside HTML attribute values propagates in_tag_context — When {% if a %}...{% elif b %}...{% endif %} appears inside an attribute value and all conditions are false, the elif node previously emitted <!--dj-if--> (malformed HTML). Fixed by threading in_tag_context as a parameter into parse_if_block() so elif nodes inherit the outer if's attribute context. (#382)

All releases · Atom feed