--TEST-- macro with a filter --TEMPLATE-- {% import _self as test %} {% macro test() %} {% filter escape %}foo<br />{% endfilter %} {% endmacro %} {{ test.test() }} --DATA-- return array(); --EXPECT-- foo<br />
info at phpclasses dot org