Archived
Public Access
Set is_safe html to true
This commit is contained in:
1 parent
9248b51908
commit
1d91b50c32
1 file changed
+1
-1
@@ -16,7 +16,7 @@ final class IconExtension extends AbstractExtension
|
||||
public function getFunctions(): array
|
||||
{
|
||||
return [
|
||||
new TwigFunction('pcm_icon', [IconRuntime::class, 'renderIcon'])
|
||||
new TwigFunction('pcm_icon', [IconRuntime::class, 'renderIcon'], ['is_safe' => ['html']])
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user