diff --git a/lib/email/styles.rb b/lib/email/styles.rb index c39583361..7c1e43a97 100644 --- a/lib/email/styles.rb +++ b/lib/email/styles.rb @@ -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