aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/default/maps/pins_js.html2
-rwxr-xr-xtemplates/web/default/reports/council.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/web/default/maps/pins_js.html b/templates/web/default/maps/pins_js.html
index 08941affc..d6d750390 100644
--- a/templates/web/default/maps/pins_js.html
+++ b/templates/web/default/maps/pins_js.html
@@ -1,4 +1,4 @@
[ [% FOR pin IN map.pins -%]
- [ [% pin.latitude %], [% pin.longitude %], '[% pin.colour %]', '[% pin.id %]', '[% pin.title.replace("'", "\\'") %]' ]
+ [ [% pin.latitude %], [% pin.longitude %], '[% pin.colour %]', '[% pin.id %]', "[% pin.title | html %]" ]
[%- IF !loop.last %],[% END %]
[% END %] ]
diff --git a/templates/web/default/reports/council.html b/templates/web/default/reports/council.html
index d2578f9f2..6d21d9f17 100755
--- a/templates/web/default/reports/council.html
+++ b/templates/web/default/reports/council.html
@@ -22,8 +22,8 @@
<h2 style="clear:right">[% loc('Wards of this council') %]</h2>
<p>[% loc('Follow a ward link to view only reports within that ward.') %]</p>
<ul>
-[% FOR c IN children.values.sort('name') %]
-<li><a href="[% c.url %]">[% c.name %]</a></p>
+[% FOR child IN children.values.sort('name') %]
+<li><a href="[% child.url %]">[% child.name %]</a></p>
[% END %]
</ul>
[% END %]