aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/admin/bodies/body.html3
-rw-r--r--templates/web/base/admin/bodies/category.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/web/base/admin/bodies/body.html b/templates/web/base/admin/bodies/body.html
index afd2eff46..8f298676e 100644
--- a/templates/web/base/admin/bodies/body.html
+++ b/templates/web/base/admin/bodies/body.html
@@ -1,4 +1,5 @@
-[% INCLUDE 'admin/header.html' title=tprintf(loc('Council contacts for %s'), body.name) -%]
+[% body_name = body.name | html;
+ INCLUDE 'admin/header.html' title=tprintf(loc('Council contacts for %s'), body_name) -%]
[% PROCESS 'admin/report_blocks.html' %]
[% IF updated %]
diff --git a/templates/web/base/admin/bodies/category.html b/templates/web/base/admin/bodies/category.html
index 2f789ed81..de8cb19ec 100644
--- a/templates/web/base/admin/bodies/category.html
+++ b/templates/web/base/admin/bodies/category.html
@@ -1,4 +1,5 @@
-[% INCLUDE 'admin/header.html' title=tprintf(loc('Council contacts for %s'), body.name) -%]
+[% body_name = body.name | html;
+ INCLUDE 'admin/header.html' title=tprintf(loc('Council contacts for %s'), body_name) -%]
[% BLOCK highlightchanged_yesno %]
[%- output = loc('No') %]