From 424ea94dfed92c6db266d76094b876a554df2caf Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 18 Nov 2014 16:32:16 +0000 Subject: [PATCH] Don't mark strings as safe. Requires 0d43506cb81c2e549ff58e61ccace2c686c16876 in the main alaveteli repo. --- lib/model_patches.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/model_patches.rb b/lib/model_patches.rb index 32b1b649..fd2e95a3 100644 --- a/lib/model_patches.rb +++ b/lib/model_patches.rb @@ -24,9 +24,9 @@ def survey def email_subject_request if (!self.is_batch_request_template?) && (self.public_body.url_name == 'general_register_office') # without GQ in the subject, you just get an auto response - _('{{law_used_full}} request GQ - {{title}}',:law_used_full=>self.law_used_full,:title=>self.title.html_safe) + _('{{law_used_full}} request GQ - {{title}}',:law_used_full=>self.law_used_full,:title=>self.title) else - _('{{law_used_full}} request - {{title}}',:law_used_full=>self.law_used_full,:title=>self.title.html_safe) + _('{{law_used_full}} request - {{title}}',:law_used_full=>self.law_used_full,:title=>self.title) end end end