]> git.openstreetmap.org Git - rails.git/commitdiff
Avoid double escaping a name
authorTom Hughes <tom@compton.nu>
Thu, 9 Jan 2020 11:05:08 +0000 (11:05 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 9 Jan 2020 11:05:08 +0000 (11:05 +0000)
app/views/user_blocks/blocks_on.html.erb

index cfdc9abf139481725c9dbe04f4be45a14fcf6f96..3275c003cef889d2aff8a09265ce78b91d94ec32 100644 (file)
@@ -1,4 +1,4 @@
-<% @title = t(".title", :name => h(@user.display_name)) %>
+<% @title = t(".title", :name => @user.display_name) %>
 <% content_for :heading do %>
   <h1><%= t(".heading_html", :name => link_to(@user.display_name, user_path(@user))) %></h1>
 <% end %>
 <% content_for :heading do %>
   <h1><%= t(".heading_html", :name => link_to(@user.display_name, user_path(@user))) %></h1>
 <% end %>