I have a simple flex object and one of its properties named title contains an ampersand sign &. When I access those property in twig I always get it escaped as &even when using the |raw filter.
Example {{ object.title|raw }} renders to Foo & Bar if the content of the yaml file is title: Foo & Bar (with a literal unescaped ampersand). When I use {{ object.getProperty('title') }} in twig this comes out the same.
This may be acceptable when rendering as html but i want to output some events as ics file and want to preserve the original input.
Is there something I am missing?