diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-07-01 13:03:45 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-07-01 13:03:45 +0100 |
commit | 20eaad234b9c237cd809164a207d2f352013e3c0 (patch) | |
tree | 12a122471a1e2650eb1e72bd7e6a83b646d53eea | |
parent | 3237f578ba460d77456bb6d525635ecccddaede1 (diff) |
Double escape, whoops.
-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 7c552bdbc..08941affc 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.replace("'", "\\'") %]' ] [%- IF !loop.last %],[% END %] [% END %] ] |