Escape input of Twig filters, closes #40