I pass a variable to my twig template in Symfony2, this variable may contain html tags, I have tried to create an extension (function), but the variabl
You can do like that :
{{ text | striptags('
For instance,
won't escape
and
etc.