1 Commits
0.1.5 ... 0.1.6

Author SHA1 Message Date
1d91b50c32 Set is_safe html to true 2023-06-27 11:33:38 +01:00

View File

@@ -16,7 +16,7 @@ final class IconExtension extends AbstractExtension
public function getFunctions(): array public function getFunctions(): array
{ {
return [ return [
new TwigFunction('pcm_icon', [IconRuntime::class, 'renderIcon']) new TwigFunction('pcm_icon', [IconRuntime::class, 'renderIcon'], ['is_safe' => ['html']])
]; ];
} }
} }