From 6518bcdd4f9046bb22761525cc91e1aed1b328fc Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Mon, 1 Aug 2016 13:05:45 -0300 Subject: [PATCH] should not escape html code of terms of use in account registration --- app/views/account/_signup_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/account/_signup_form.html.erb b/app/views/account/_signup_form.html.erb index 310f616..46be23a 100644 --- a/app/views/account/_signup_form.html.erb +++ b/app/views/account/_signup_form.html.erb @@ -113,7 +113,7 @@ <% unless @terms_of_use.blank? %>
- <%= labelled_check_box(_('I accept the %s') % link_to(_('terms of use'), {:controller => 'home', :action => 'terms'}, :target => '_blank'), 'user[terms_accepted]') %> + <%= labelled_check_box(_('I accept the %s').html_safe % link_to(_('terms of use'), {:controller => 'home', :action => 'terms'}, :target => '_blank'), 'user[terms_accepted]') %>
<% end %> -- libgit2 0.21.2