Merge pull request #3240 from techAPJ/patch-1

FIX: convert all emojis to text in short email notifications
This commit is contained in:
Régis Hanol 2015-02-26 17:24:15 +01:00
commit 7b92100a97

View File

@ -163,7 +163,7 @@ module Email
img.remove
end
img.replace(img['title']) if img['class'] =~ /emoji/
img.replace(img['title']) if (img['src'] =~ /images\/emoji/ || img['src'] =~ /uploads\/default\/_emoji/)
end
@fragment.to_s