- Issue created by @tzura
- First commit to issue fork.
- Status changed to Needs review
2 months ago 1:58pm 20 September 2024
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 }}