Skip to content

Commit

Permalink
Merge pull request #1 from Eworm/patch-1
Browse files Browse the repository at this point in the history
Adding loading to the params whitelist
  • Loading branch information
AndrewHaine authored Apr 19, 2021
2 parents bf300db + e4676c8 commit d0f9bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImgixHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ImgixHelper
{
private static $html_params = ['accesskey', 'align', 'alt', 'border', 'class', 'contenteditable', 'contextmenu', 'dir', 'height', 'hidden', 'id', 'lang', 'longdesc', 'sizes', 'style', 'tabindex', 'title', 'usemap', 'width'];
private static $html_params = ['accesskey', 'align', 'alt', 'border', 'class', 'contenteditable', 'contextmenu', 'dir', 'height', 'hidden', 'id', 'lang', 'loading', 'longdesc', 'sizes', 'style', 'tabindex', 'title', 'usemap', 'width'];

private static $sorter_exclude = ['path', 'sizes', 'focus', 'default-focus'];

Expand Down

0 comments on commit d0f9bcb

Please sign in to comment.