cphalcon
cphalcon copied to clipboard
[VOLT] Nested inheritance bug.
On nested inheritance content of blocks is lost.
a.html
{% extends "b.html" %}
{% block content %}
Content for A
{% endblock %}
b.html
{% extends "c.html" %}
{% block header%}Header B{% endblock %}
c.html
Main header C
{% block header%}{% endblock %}
{% block content %}{% endblock %}
Expected:
Main header C Header B Content for A
Renders as:
Main header C Content for A
When will be fixed? Can't use volt due to this problem (temporarily switched to twig)
This is fixed in the 1.0.0 branch, sorry for the delay