Acquia Developer (D10) Practice Questions - Acquia Certified Developer - Drupal 10 Exam

Question Number 5


A developer wants the variable {{ node.title.value }} to render as plain text inside a Twig template. Which Twig filter is the safest, most idiomatic choice?
✔ Correct Answer:
{{ node.title.value|escape }} or simply rely on autoescape