aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-23 16:10:47 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-03-23 16:10:47 +0000
commit8ab82d4c381645f3657432210e8de9348b68aaa2 (patch)
treed3cee38e6a504565944eceb010546d2b6915f0ea
parentde7a31daaef62f2e89dfdae767e4061bfbbf576a (diff)
Title is escaped on display, so no need to do it again earlier.
-rw-r--r--templates/web/default/report/display.html2
-rw-r--r--templates/web/emptyhomes/report/display.html2
-rw-r--r--templates/web/fixmystreet/report/display.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html
index 999d332d2..abfff624f 100644
--- a/templates/web/default/report/display.html
+++ b/templates/web/default/report/display.html
@@ -1,7 +1,7 @@
[%
PROCESS "maps/${map.type}.html";
- problem_title = problem.title _ ' - ' _ loc('Viewing a problem') | html;
+ problem_title = problem.title _ ' - ' _ loc('Viewing a problem');
INCLUDE 'header.html'
title = problem_title
rss = [ loc('Updates to this problem, FixMyStreet'), "/rss/$problem.id" ]
diff --git a/templates/web/emptyhomes/report/display.html b/templates/web/emptyhomes/report/display.html
index 933a05948..bcce6789d 100644
--- a/templates/web/emptyhomes/report/display.html
+++ b/templates/web/emptyhomes/report/display.html
@@ -1,5 +1,5 @@
[%
- problem_title = loc('Viewing a problem') | html;
+ problem_title = loc('Viewing a problem');
INCLUDE 'header.html'
title = problem_title
robots = 'noindex, nofollow'
diff --git a/templates/web/fixmystreet/report/display.html b/templates/web/fixmystreet/report/display.html
index 42b9dbdb0..0f650b7c2 100644
--- a/templates/web/fixmystreet/report/display.html
+++ b/templates/web/fixmystreet/report/display.html
@@ -1,7 +1,7 @@
[%
PROCESS "maps/${map.type}.html";
- problem_title = problem.title _ ' - ' _ loc('Viewing a problem') | html;
+ problem_title = problem.title _ ' - ' _ loc('Viewing a problem');
INCLUDE 'header.html'
title = problem_title
rss = [ loc('Updates to this problem, FixMyStreet'), "/rss/$problem.id" ]