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

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -