fixed missing escaping

This fixes missing escaping in template used by Twig filter marked as HTML safe.