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 -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

Command prompt result in label. Python 2.7 -