You are here

twig-raw-test.html.twig in Drupal 10

{# Template for testing |raw with autoescape. #}
{% autoescape %}
  {{ script|raw }}
{% endautoescape %}

File

core/modules/system/tests/modules/twig_theme_test/templates/twig-raw-test.html.twig
View source
  1. {# Template for testing |raw with autoescape. #}
  2. {% autoescape %}
  3. {{ script|raw }}
  4. {% endautoescape %}