aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/maps/pins_js.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-01 13:38:33 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-01 13:38:33 +0100
commita010a31a65d6ff3da49d7d85b1dd5a9300c3c92d (patch)
treed5aa0b5db28ea8e9d6b6f90bed52b6b5007cf110 /templates/web/default/maps/pins_js.html
parent2611f65707cff0416e59360d64d26c298881103d (diff)
Fix links not working on All Reports pages (c is special).
Diffstat (limited to 'templates/web/default/maps/pins_js.html')
-rw-r--r--templates/web/default/maps/pins_js.html2
1 files changed, 1 insertions, 1 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 %] ]