FIX: convert all emojis to text in short email notifications

This commit is contained in:
Arpit Jalan 2015-02-26 21:16:01 +05:30
parent 7d8dd9d93b
commit 228d3240eb

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