Commit 1c24b76d179a0e7cb3d1e006f416f064cb94d141
Exists in
master
and in
29 other branches
Merge branch 'AI3236-html_links_bug' into 'master'
Ai3236 html links bug Fixing: https://noosfero.org/Development/ActionItem3236 See merge request !268
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
app/views/cms/view.html.erb
... | ... | @@ -25,7 +25,9 @@ |
25 | 25 | <div id='article-full-path'> |
26 | 26 | <strong><%= _('Current folder: ') %></strong> |
27 | 27 | <%= link_to profile.identifier, :action => 'index' %> |
28 | - <%= @article.hierarchy.map {|item| " / " + ((item == @article) ? item.name : link_to(item.slug, :id => item.id)) } %> | |
28 | + <% @article.hierarchy.each do |item| %> | |
29 | + <%= " / " + ((item == @article) ? item.name.html_safe : link_to(item.slug, :id => item.id).html_safe) %> | |
30 | + <% end %> | |
29 | 31 | </div> |
30 | 32 | <% end %> |
31 | 33 | ... | ... |