twig converts html text entities, and a line break is output as the letters
{% autoescape %}
{{ var|raw }} {# var will not be replaced with entities #}
{% endautoescape %}
or like this
{{ test|safe }}
or
{% autoescape on %}
Inside this block all variables will be escaped
{% endautoescape %}
{% autoescape off %}
Everything will be output "as is" in this block
{% endautoescape %}
Comments