Skip to content

Commit f65ee8f

Browse files
mpdudefabpot
andauthored
Update extra/html-extra/HtmlExtension.php
Co-authored-by: Fabien Potencier <[email protected]>
1 parent 3622758 commit f65ee8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extra/html-extra/HtmlExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function getFunctions(): array
3737
{
3838
return [
3939
new TwigFunction('html_classes', 'twig_html_classes'),
40-
new TwigFunction('attr', 'twig_attr', ['needs_environment' => true, 'is_safe' => ['html']]),
40+
new TwigFunction('html_attr', 'twig_attr', ['needs_environment' => true, 'is_safe' => ['html']]),
4141
];
4242
}
4343

0 commit comments

Comments
 (0)