mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
FIX: convert all emojis to text in short email notifications
This commit is contained in:
parent
fc6e7f5667
commit
13e5c02643
@ -163,11 +163,10 @@ module Email
|
|||||||
img.remove
|
img.remove
|
||||||
end
|
end
|
||||||
|
|
||||||
if img['src'] =~ /images\/emoji/
|
img.replace(img['title']) if img['class'] =~ /emoji/
|
||||||
img.replace img['title']
|
|
||||||
end
|
end
|
||||||
end
|
|
||||||
return @fragment.to_s
|
@fragment.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
Loading…
x
Reference in New Issue
Block a user