--TEST--
macro with a filter
--TEMPLATE--
{% import _self as test %}

{% macro test() %}
    {% filter escape %}foo<br />{% endfilter %}
{% endmacro %}

{{ test.test() }}
--DATA--
return []
--EXPECT--
foo&lt;br /&gt;
