add:template_name unable to parse some chars

This works :

{% with template_name=section.id|stringformat:"s"|add:".html" %}
    {{ "./sections/"|add:template_name }}
{% endwith %}
outputting the right path which has the filename.

But this doesn’t :

{% include "./sections/"|add:template_name %}

Could not parse some characters: service|-orders/tabs/sections/"||add:template_name

I’m on Django 4.2

I got this working using an inner with

{% with template_path="./sections/"|add:template_name %}
    {% include template_path %}
{% endwith %}

For the benefit of others : (with within with)

{% with template_name=section.id|stringformat:"s"|add:".html" %}
    {% with template_path="./sections/"|add:template_name %}
        {% include template_path %}
    {% endwith %}
{% endwith %}