I find myself repeating the same filter attribute over all the %def's in my mako code:
<%def name="mydef1(a,b)" filter="trim">
# something something something
</%def>
...
<%def name="mydef2(b)" filter="trim">
# something something something
</%def>
Is there a way to specify a default set of filters for all %def's and avoid the repetitive 'filter="trim"' in my code?
I noticed there is an option to specify default filters for expression filters, but i could not find something similar for %def's.