diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-07-01 13:38:33 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-07-01 13:38:33 +0100 |
commit | a010a31a65d6ff3da49d7d85b1dd5a9300c3c92d (patch) | |
tree | d5aa0b5db28ea8e9d6b6f90bed52b6b5007cf110 /templates/web/default/maps/pins_js.html | |
parent | 2611f65707cff0416e59360d64d26c298881103d (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.html | 2 |
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 %] ] |