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 - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -