diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 074310835..aa56543de 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -74,6 +74,10 @@ module ApplicationHelper end end + def unescape_emoji(title) + PrettyText.unescape_emoji(title) + end + def with_format(format, &block) old_formats = formats self.formats = [format] diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index 61862b061..959562b2e 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -20,7 +20,7 @@ <%- @featured_topics.each_with_index do |t, i| %> @@ -43,7 +43,7 @@ <%- @new_topics.each do |t| %>