Consider the following code:
{% macro example(prefix, items) %}
{{ prefix }} {{ items | first }}
{% if (items | count > 1) %}{{ example( prefix ~'-', items[1:items|count]) }}{% endif %}
{% endmacro %}
{{ example('-',['lorem', 'ipsum', 'dolor']) }}
With jinjava 2.1.7 or earlier this correctly outputs:
- lorem
-- ipsum
--- dolor
Starting with version 2.1.8 this no longer works and instead just outputs: