symfony - Twig How can I print \n newlines -


i have created following template gives output csv.

a;b;c {% in %} {%  b in a.b %}{{ a.a }};{{ b.b }};{{ b.c }};{% endfor %} {% endfor %} 

but output noit have new lines. have idea how print new lines (\n) template above?

just press enter between ;{{ b.c }}; , {% endfor %}

a;b;c {% in %} {%  b in a.b %}{{ a.a }};{{ b.b }};{{ b.c }}; {% endfor %} {% endfor %} 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

c# - Update a combobox from a presenter (MVP) -

android - Unable to generate FCM token from dynamically instantiated Firebase -