From 6b159c165a6080fc29906e33d0d55cf4ef1a415c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 5 Apr 2012 14:09:19 +0100 Subject: [PATCH] No need for explicit h() escaping in new code --- app/views/redactions/_redaction.html.erb | 2 +- app/views/redactions/show.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/redactions/_redaction.html.erb b/app/views/redactions/_redaction.html.erb index c9d237418..9974d2bc9 100644 --- a/app/views/redactions/_redaction.html.erb +++ b/app/views/redactions/_redaction.html.erb @@ -1 +1 @@ -
  • <%= link_to h(redaction.title), redaction %>
  • +
  • <%= link_to redaction.title, redaction %>
  • diff --git a/app/views/redactions/show.html.erb b/app/views/redactions/show.html.erb index 04df9ade9..162dd6bfe 100644 --- a/app/views/redactions/show.html.erb +++ b/app/views/redactions/show.html.erb @@ -3,7 +3,7 @@

    <%= t 'redaction.show.user' %> - <%= link_to(h(@redaction.user.display_name), {:controller => 'user', :action => 'view', :display_name => @redaction.user.display_name}) %> + <%= link_to(@redaction.user.display_name, {:controller => 'user', :action => 'view', :display_name => @redaction.user.display_name}) %>

    <%= t 'redaction.show.description' %> -- 2.43.2