TWIG code
{% if 'export' in url %}
<a href="{{ url }}"{{ attributes.addClass('btn btn-success') }}>
{{ '@format export'|t({'@format': 'Export files'},{'context':
'kjus'}) }}
</a>
{% else %}
<a href="{{ url }}"{{ attributes.addClass('btn btn-success') }}>
{{ '@format csv'|t({'@format': 'CSV'},{'context': 'kjus'}) }}
</a>
{% endif %}
shows the following error
Twig\Error\SyntaxError: Unexpected token "punctuation" of value "(" ("end of print statement" expected). in Twig\TokenStream->expect()Not getting the error