about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-01 16:20:34 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:16 -0500
commit4dcd2063070de13fd66edb28f0dddb62e6297884 (patch)
treed4de0c1e97a9883f0e533072340532e6dd84489d /app
parentca72dc7334d5ee233c3fe5912a4536fc223d4fc4 (diff)
[Bug] Add missing alt attribute
Diffstat (limited to 'app')
-rw-r--r--app/helpers/img_proxy_helper.rb2
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?