FIX: properly align username for suppressed avatar images

This commit is contained in:
Arpit Jalan 2014-09-25 10:56:23 +05:30
parent 239d4d9d47
commit 648d3f3458

View file

@ -140,6 +140,7 @@ module Email
def strip_avatars_and_emojis
@fragment.css('img').each do |img|
if img['src'] =~ /user_avatar/
img.parent['style'] = "vertical-align: top;" if img.parent.name == 'td'
img.remove
end