We have a text (formatted, long) field that is used to insert embed code such as the Youtube embed code for videos.
When printing the field in twig we are finding that rather than rendering the embed code, it is displaying the embed code as string. To get around this, we currently apply Twig's Raw filter, but wanted to see if there was a way to not use the raw filter and render the field as is.
Content type (basic page):
- body (text, formatted long) field
Current results (inserted into Body field using Full HTML text format, displayed as string):
Desired results (output of body field shows the video)