Skip to content

Commit

Permalink
Update Core.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Jul 24, 2024
1 parent dfaa8e6 commit 723c394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Renderer/Extension/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ public function html(array $context, Asset $asset, array $attributes = [], array
$htmlAttributes = '';
$preload = false;
$responsive = (bool) $this->config->get('assets.images.responsive.enabled') ?? false;
$formats = (array) $this->config->get('assets.images.formats') ?? ['webp'];
$formats = (array) $this->config->get('assets.images.formats') ?? [];
extract($options, EXTR_IF_EXISTS);

// builds HTML attributes
Expand Down

0 comments on commit 723c394

Please sign in to comment.