mirror of
https://github.com/discourse/discourse.git
synced 2026-07-31 08:38:27 -05:00
yet another attempt at images in email
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ module Email
|
||||
# having no extra style on email images might work best?
|
||||
img['width'] = 'auto'
|
||||
img['height'] = 'auto'
|
||||
# add_styles(img, 'max-width:100%;') if img['style'] !~ /max-width/
|
||||
add_styles(img, 'max-width:100%;') if img['style'] !~ /max-width/
|
||||
end
|
||||
|
||||
# ensure all urls are absolute
|
||||
|
||||
Reference in New Issue
Block a user