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: Jacob Dreesen <[email protected]>
  • Loading branch information
mpdude and jdreesen authored Sep 30, 2024
1 parent c9acca6 commit f7c3b7a
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 @@ -169,7 +169,7 @@ static function twig_html_attr(Environment $env, ...$args): string
$attr = twig_html_attr_merge(...$args);

if (isset($attr['class'])) {
$attr['class'] = trim(implode(' ', array_values($attr['class'])));
$attr['class'] = trim(implode(' ', $attr['class']));
}

if (isset($attr['style'])) {
Expand Down

0 comments on commit f7c3b7a

Please sign in to comment.