Commit 6518bcdd4f9046bb22761525cc91e1aed1b328fc
1 parent
a0194228
Exists in
staging
and in
4 other branches
should not escape html code of terms of use in account registration
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/account/_signup_form.html.erb
... | ... | @@ -113,7 +113,7 @@ |
113 | 113 | |
114 | 114 | <% unless @terms_of_use.blank? %> |
115 | 115 | <div id='terms-of-use-box' class='formfieldline'> |
116 | - <%= labelled_check_box(_('I accept the %s') % link_to(_('terms of use'), {:controller => 'home', :action => 'terms'}, :target => '_blank'), 'user[terms_accepted]') %> | |
116 | + <%= labelled_check_box(_('I accept the %s').html_safe % link_to(_('terms of use'), {:controller => 'home', :action => 'terms'}, :target => '_blank'), 'user[terms_accepted]') %> | |
117 | 117 | </div> |
118 | 118 | <% end %> |
119 | 119 | ... | ... |