Skip to content

Commit

Permalink
core: on image tag, support the 'decoding' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed May 3, 2022
1 parent baf3bca commit 3b0958d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/support/z_media_tag.erl
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ is_tagopt({title, _}) -> true;
is_tagopt({class, _}) -> true;
is_tagopt({style, _}) -> true;
is_tagopt({loading, _}) -> true;
is_tagopt({decoding, _}) -> true;
is_tagopt({align, _}) -> true; % HTML 1.0 for e-mails

% Some preview args we definitely know exist (just an optimization)
Expand Down

0 comments on commit 3b0958d

Please sign in to comment.