- Issue created by @tzura
- First commit to issue fork.
- Status changed to Needs review
7 months ago 1:58pm 20 September 2024 - Status changed to Fixed
29 days ago 4:48pm 12 March 2025
Some of the default twig templates in the /templates directory use the 'raw' filter.
According to Drupal documentation β , the 'raw' filter should be 'avoided whenever possible'.
Modify templates in the /templates directory that are using the raw filter on variables to not use the raw filter on variables. :)
As an example, instead of:
{{ message|raw }}
do this:
{% set message_markup = [{'#markup': message|render}] %}
{{ message_markup }}