twig-raw-test.html.twig
Same filename in other branches
{# Template for testing |raw with autoescape. #} {% autoescape %} {{ script|raw }} {% endautoescape %}
1 theme call to twig-raw-test.html.twig
- TwigRawTest::testAutoescapeRaw in core/
modules/ system/ tests/ src/ Kernel/ Theme/ TwigRawTest.php - Tests the raw filter inside an autoescape tag.
File
-
core/
modules/ system/ tests/ modules/ twig_theme_test/ templates/ twig-raw-test.html.twig
View source
- {# Template for testing |raw with autoescape. #}
- {% autoescape %}
- {{ script|raw }}
- {% endautoescape %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.