]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/blocks_by.html.erb
Use _html suffix to avoid using raw when displaying translated strings
[rails.git] / app / views / user_blocks / blocks_by.html.erb
index 284052a7b5413e7a8d344de18b86f02191b60420..6b4e60daa864745b5cde54c4b0a0ce2a8c9edb07 100644 (file)
@@ -1,6 +1,6 @@
 <% @title = t(".title", :name => h(@user.display_name)) %>
 <% content_for :heading do %>
-  <h1><%= raw(t(".heading", :name => link_to(h(@user.display_name), user_path(@user)))) %></h1>
+  <h1><%= t(".heading_html", :name => link_to(@user.display_name, user_path(@user))) %></h1>
 <% end %>
 
 <% unless @user_blocks.empty? %>