diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-01 16:20:34 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:16 -0500 |
commit | 4dcd2063070de13fd66edb28f0dddb62e6297884 (patch) | |
tree | d4de0c1e97a9883f0e533072340532e6dd84489d | |
parent | ca72dc7334d5ee233c3fe5912a4536fc223d4fc4 (diff) |
[Bug] Add missing alt attribute
-rw-r--r-- | app/helpers/img_proxy_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/img_proxy_helper.rb b/app/helpers/img_proxy_helper.rb index 6ef3fe84d..5ea4bcd93 100644 --- a/app/helpers/img_proxy_helper.rb +++ b/app/helpers/img_proxy_helper.rb @@ -42,7 +42,7 @@ module ImgProxyHelper elsif normalized_src_parts.scheme.blank? || !file_name.match?(/\S\.\w{3,}/) next replace_text!(src) else - media_attachment = create_media_attachment!(normalized_src) + media_attachment = create_media_attachment!(normalized_src, alt) end next replace_text!(src) if media_attachment.blank? || media_attachment.destroyed? |