aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/contact/index.html2
-rw-r--r--templates/web/default/report/display.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/contact/index.html b/templates/web/default/contact/index.html
index 3997198bb..73e94fb33 100644
--- a/templates/web/default/contact/index.html
+++ b/templates/web/default/contact/index.html
@@ -38,7 +38,7 @@
</p>
<blockquote>
- <h2>[% problem.title | html %]</h2>
+ <h2>[% problem.title_safe | html %]</h2>
<p>
[% IF problem.anonymous %]
diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html
index 2ade45a8a..fd7580ac1 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');
+ problem_title = problem.title_safe _ ' - ' _ loc('Viewing a problem');
SET rss = [ loc('Updates to this problem, FixMyStreet'), "/rss/$problem.id" ] IF c.cobrand.moniker != 'emptyhomes';
SET robots = 'index, nofollow';
SET robots = 'noindex, nofollow' IF c.cobrand.moniker == 'emptyhomes';