FIX: convert all emojis to text in short email notifications

This commit is contained in:
Régis Hanol 2015-02-26 12:50:56 +01:00
parent fc6e7f5667
commit 13e5c02643

View File

@ -163,11 +163,10 @@ module Email
img.remove
end
if img['src'] =~ /images\/emoji/
img.replace img['title']
end
img.replace(img['title']) if img['class'] =~ /emoji/
end
return @fragment.to_s
@fragment.to_s
end
private