From 1c062165f695a8fb07653d6331bbb914052c5faf Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 9 Jan 2020 11:05:08 +0000 Subject: [PATCH] Avoid double escaping a name --- app/views/user_blocks/blocks_on.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user_blocks/blocks_on.html.erb b/app/views/user_blocks/blocks_on.html.erb index cfdc9abf1..3275c003c 100644 --- a/app/views/user_blocks/blocks_on.html.erb +++ b/app/views/user_blocks/blocks_on.html.erb @@ -1,4 +1,4 @@ -<% @title = t(".title", :name => h(@user.display_name)) %> +<% @title = t(".title", :name => @user.display_name) %> <% content_for :heading do %>

<%= t(".heading_html", :name => link_to(@user.display_name, user_path(@user))) %>

<% end %> -- 2.39.5