diff --git a/app/views/person_notifier/mailer/_create_article.html.erb b/app/views/person_notifier/mailer/_create_article.html.erb index 489cf02..3ae34de 100644 --- a/app/views/person_notifier/mailer/_create_article.html.erb +++ b/app/views/person_notifier/mailer/_create_article.html.erb @@ -5,7 +5,7 @@

<%= link_to activity.user.short_name(20), activity.user.url %> - <%= _("has published on community %s") % link_to(activity.target.profile.short_name(20), activity.target.profile.url, :style => "color: #333; font-weight: bold; text-decoration: none;") if activity.target.profile.is_a?(Community) %> + <%= _("has published on community %s").html_safe % link_to(activity.target.profile.short_name(20), activity.target.profile.url, :style => "color: #333; font-weight: bold; text-decoration: none;") if activity.target.profile.is_a?(Community) %> <%= time_ago_in_words(activity.created_at) %>

diff --git a/app/views/person_notifier/mailer/content_summary.html.erb b/app/views/person_notifier/mailer/content_summary.html.erb index 5ba025a..04557df 100644 --- a/app/views/person_notifier/mailer/content_summary.html.erb +++ b/app/views/person_notifier/mailer/content_summary.html.erb @@ -5,7 +5,7 @@ <%= link_to @url, :style => "text-decoration: none;" do %> <%= @environment.name %> <% end %> - <%= _("%s's Notifications") % @profile.name %> + <%= _("%s's Notifications").html_safe % @profile.name %>

<% if @tasks.present? %> @@ -34,7 +34,7 @@

<%= _("Greetings,") %>

-

<%= _('%s team.') % @environment.name %>

+

<%= _('%s team.').html_safe % @environment.name %>

<%= link_to @url, url_for(@url) %>

-- libgit2 0.21.2