twig filter line break

Solutions on MaxInterview for twig filter line break by the best coders in the world

showing results for - "twig filter line break"
Ema
08 Feb 2020
1{{ "I like Twig.\nYou will like it too."|nl2br }}
2{# outputs
3
4    I like Twig.<br />
5    You will like it too.
6
7#}