mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
FIX: convert all emojis to text in short email notifications
This commit is contained in:
parent
7d8dd9d93b
commit
228d3240eb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue