From 5718d455bccf059c60246470dafca96af5f6cf19 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 23 Nov 2011 00:11:51 +0000 Subject: [PATCH 1/1] Don't escape the heading on a user block --- app/views/user_blocks/show.html.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/user_blocks/show.html.erb b/app/views/user_blocks/show.html.erb index bc405ecce..4ba69a73f 100644 --- a/app/views/user_blocks/show.html.erb +++ b/app/views/user_blocks/show.html.erb @@ -1,13 +1,13 @@ <% @title = t('user_block.show.title', :block_on => @user_block.user.display_name, :block_by => @user_block.creator.display_name) %> -

<%= t('user_block.show.heading', - :block_on => link_to( - h(@user_block.user.display_name), - {:controller => 'user', :action => 'view', :display_name => @user_block.user.display_name}), - :block_by => link_to( - h(@user_block.creator.display_name), - {:controller => 'user', :action => 'view', :display_name => @user_block.creator.display_name})) %>

+

<%= raw t('user_block.show.heading', + :block_on => link_to( + h(@user_block.user.display_name), + {:controller => 'user', :action => 'view', :display_name => @user_block.user.display_name}), + :block_by => link_to( + h(@user_block.creator.display_name), + {:controller => 'user', :action => 'view', :display_name => @user_block.creator.display_name})) %>

<% if @user_block.revoker %>

<%= t'user_block.show.revoker' %> -- 2.39.5