@@ -74,7 +74,7 @@ public function getFilters(): array
7474 return [
7575 new TwigFilter ('format_size ' , [$ this , 'filterFilesize ' ]),
7676 new TwigFilter ('slugify ' , [$ this , 'filterSlugify ' ]),
77- new TwigFilter ('twigify ' , [$ this , 'twigify ' ], ['is_safe ' => ['html ' ]]),
77+ new TwigFilter ('twigify ' , [$ this , 'twigify ' ], ['is_safe ' => ['html ' ]]),
7878 new TwigFilter ('visible ' , [$ this , 'filterVisible ' ], ['deprecated ' => true ]) // doesn't work properly
7979 ];
8080 }
@@ -105,7 +105,7 @@ public function getFunctions(): array
105105 new TwigFunction ('query ' , [$ this , 'query ' ]),
106106 new TwigFunction ('snippet ' , [$ this , 'snippet ' ], ['is_safe ' => ['all ' ]]),
107107 new TwigFunction ('translate ' , [$ this , 'translate ' ]),
108- new TwigFunction ('twigify ' , [$ this , 'twigify ' ], ['is_safe ' => ['html ' ]]),
108+ new TwigFunction ('twigify ' , [$ this , 'twigify ' ], ['is_safe ' => ['html ' ]]),
109109 new TwigFunction ('url_rel ' , [$ this , 'urlRelative ' ]),
110110 new TwigFunction ('url_abs ' , [$ this , 'urlAbsolute ' ]),
111111 ];
0 commit comments