twig-autoescape-test.html.twig

Same filename in other branches
  1. 9 core/modules/system/tests/modules/twig_theme_test/templates/twig-autoescape-test.html.twig
  2. 10 core/modules/system/tests/modules/twig_theme_test/templates/twig-autoescape-test.html.twig
  3. 11.x core/modules/system/tests/modules/twig_theme_test/templates/twig-autoescape-test.html.twig
{# Template for testing autoescape. #}
{{ script }}
1 theme call to twig-autoescape-test.html.twig
TwigRawTest::testAutoescape in core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php
Tests autoescaping of unsafe content.

File

core/modules/system/tests/modules/twig_theme_test/templates/twig-autoescape-test.html.twig

View source
  1. {# Template for testing autoescape. #}
  2. {{ script }}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.