bad_help_topics.locale.html.twig

Same filename in other branches
  1. 9 core/modules/help_topics/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.locale.html.twig
  2. 11.x core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.locale.html.twig
---
label: 'Help topic with locale-unsafe tag'
top_level: true
---
<p>{% trans %}some translated text and a <script>alert('hello')</script>{% endtrans %}</p>

File

core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.locale.html.twig

View source
  1. ---
  2. label: 'Help topic with locale-unsafe tag'
  3. top_level: true
  4. ---
  5. <p>{% trans %}some translated text and a <script>alert('hello')</script>{% endtrans %}</p>

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