mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 22:06:46 +08:00
FIX: convert all emojis to text in short email notifications
This commit is contained in:
@ -163,7 +163,7 @@ module Email
|
|||||||
img.remove
|
img.remove
|
||||||
end
|
end
|
||||||
|
|
||||||
img.replace(img['title']) if img['class'] =~ /emoji/
|
img.replace(img['title']) if (img['src'] =~ /images\/emoji/ || img['src'] =~ /uploads\/default\/_emoji/)
|
||||||
end
|
end
|
||||||
|
|
||||||
@fragment.to_s
|
@fragment.to_s
|
||||||
|
Reference in New Issue
Block a user