Skip to content

Commit

Permalink
Update extra/html-extra/HtmlExtension.php
Browse files Browse the repository at this point in the history
Co-authored-by: Fabien Potencier <[email protected]>
  • Loading branch information
mpdude and fabpot authored Sep 30, 2024
1 parent 3622758 commit f65ee8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/html-extra/HtmlExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function getFunctions(): array
{
return [
new TwigFunction('html_classes', 'twig_html_classes'),
new TwigFunction('attr', 'twig_attr', ['needs_environment' => true, 'is_safe' => ['html']]),
new TwigFunction('html_attr', 'twig_attr', ['needs_environment' => true, 'is_safe' => ['html']]),
];
}

Expand Down

0 comments on commit f65ee8f

Please sign in to comment.