1--TEST-- 2"nl2br" filter 3--TEMPLATE-- 4{{ "I like Twig.\nYou will like it too.\n\nEverybody like it!"|nl2br }} 5{{ text|nl2br }} 6--DATA-- 7return ['text' => "If you have some <strong>HTML</strong>\nit will be escaped."] 8--EXPECT-- 9I like Twig.<br /> 10You will like it too.<br /> 11<br /> 12Everybody like it! 13If you have some <strong>HTML</strong><br /> 14it will be escaped. 15