Commit e6612c79cde0b7f9c88d304ea82d78b4e1c41f3d
1 parent
c8dae131
Exists in
staging
and in
30 other branches
html safe fix of article publication in profile wall
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/profile/_create_article.html.erb
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | <div class='profile-activity-description profile-activity-article-<%= activity.target.class.icon_name %>'> |
5 | 5 | <p class='profile-activity-text'> |
6 | 6 | <%= link_to activity.user.short_name(20), activity.user.url %> |
7 | - <%= _("has published on community %s") % link_to(activity.target.profile.short_name(20), activity.target.profile.url) if activity.target.profile.is_a?(Community) %> | |
7 | + <%= _("has published on community %s").html_safe % link_to(activity.target.profile.short_name(20), activity.target.profile.url) if activity.target.profile.is_a?(Community) %> | |
8 | 8 | </p> |
9 | 9 | <div class='profile-activity-lead'> |
10 | 10 | <div class='article-name'><%= link_to(activity.params['name'], activity.params['url']) %></div> | ... | ... |