aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-02-09 10:36:12 +0000
committerLouise Crow <louise.crow@gmail.com>2015-02-09 10:36:12 +0000
commit1cebc5e37e16f1e09ba0c818d89427836412eaab (patch)
tree7dde4e5123317a93ca1373343a443b39badefdcb
parentcb6a53704143aa952b824ed007d01add5764b2ce (diff)
No need to pre-escape translation string arguments.
They will be escaped in gettext_interpolate
-rw-r--r--app/views/request/followup_bad.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/request/followup_bad.html.erb b/app/views/request/followup_bad.html.erb
index 7f248891a..81004701a 100644
--- a/app/views/request/followup_bad.html.erb
+++ b/app/views/request/followup_bad.html.erb
@@ -21,12 +21,12 @@
an email which will go to the right place, please <a href="{{url}}">send it to us</a>.', :url => help_contact_path.html_safe) %>
</p>
<% elsif @reason == 'bad_contact' %>
- <p><%= _('We do not have a working {{law_used_full}} address for {{public_body_name}}.', :law_used_full => h(@info_request.law_used_full), :public_body_name => h(@info_request.public_body.name)) %> <%= _('You may be able to find
+ <p><%= _('We do not have a working {{law_used_full}} address for {{public_body_name}}.', :law_used_full => @info_request.law_used_full, :public_body_name => @info_request.public_body.name) %> <%= _('You may be able to find
one on their website, or by phoning them up and asking. If you manage
to find one, then please <a href="{{url}}">send it to us</a>.', :url => help_contact_path.html_safe) %>
</p>
<% elsif @reason == 'external' %>
- <p><%= _("Followups cannot be sent for this request, as it was made externally, and published here by {{public_body_name}} on the requester's behalf.", :public_body_name => h(@info_request.public_body.name)) %>
+ <p><%= _("Followups cannot be sent for this request, as it was made externally, and published here by {{public_body_name}} on the requester's behalf.", :public_body_name => @info_request.public_body.name) %>
</p>
<% else %>
<% raise _("unknown reason ") + @reason %>