2.8's block assignments have been incredibly useful, but I've found myself doing the following a lot...
{% set title %}
<h1>{{ value }}</h1>
{% endset %}
{% set title = title | safe %}
Would it be possible to allow moving the filter call into the block assignment call, such as with the following syntax?
{% set title | safe %}
<h1>{{ value }}</h1>
{% endset %}
(There might be a better / more generally flexible syntax, that's just the one that first occurred to me to try).
2.8's block assignments have been incredibly useful, but I've found myself doing the following a lot...
Would it be possible to allow moving the filter call into the block assignment call, such as with the following syntax?
(There might be a better / more generally flexible syntax, that's just the one that first occurred to me to try).