Q:

How to escape ' " and & in Twig

I am exporting a CSV file in my Symfony application.
How can I escape symbols: ', " and & in Twig? 
The filter |escape doesn't work and I am still getting &#039 etc. in my output file.

A:

Maybe:
{{ string | raw }} 

Please show your Twig code, without it, it's guessing.

