Run arbitrary text through a Twig filter

To be able to take your text and run it through a filter in Twig, put it inside a Twig statement in quotation marks followed by the standard pipe then filter syntax:

{{ ‘Read more’|escape(‘html’) }}

If you need to use a standard Twig variable interspersed with the straight text or HTML you’re escaping or using some other Twig filter on, you’ll

{{ ‘Read more and discuss at’|escape(‘html’) }}