mirror of
https://github.com/discourse/discourse.git
synced 2025-09-12 21:10:47 +08:00
FIX: Show emoji in inline oneboxes
This commit is contained in:
parent
c2db2c5c78
commit
574681dc47
7 changed files with 25 additions and 9 deletions
|
@ -426,7 +426,7 @@ class UserNotifications < ActionMailer::Base
|
|||
end
|
||||
|
||||
email_opts = {
|
||||
topic_title: gsub_emoji_to_unicode(title),
|
||||
topic_title: Emoji.gsub_emoji_to_unicode(title),
|
||||
topic_title_url_encoded: title ? URI.encode(title) : title,
|
||||
message: message,
|
||||
url: post.url(without_slug: SiteSetting.private_email?),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue