kriswallsmith/assetic — pull request #585 by bangpound (2014-03-04 21:32:43+00:00)
Title: Assets defined in overridden blocks of embedded Twig templates are not loaded

Using the Twig [`embed`](http://twig.sensiolabs.org/doc/tags/embed.html) tag, I am including a template and extending/overriding blocks within it. This is the code in question:

````twig
{% block footer %}
{% embed 'Bundle::footer.html.twig' %}
{% block sponsors %}
{{ parent() }}

{% image '@Bundle/Resources/public/images/logo.png' %}

{% endimage %}

{% endblock %}
{% endembed %}
{% endblock %}
````

However, the blocks inside the embed tag are never scanned for instances of AsseticNode, because the embedded template is not a child but rather it's an attribute on the node.