bad_help_topics.locale.html.twig
Same filename in other branches
--- 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
- ---
- label: 'Help topic with locale-unsafe tag'
- top_level: true
- ---
- <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.