diff options
-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 %] ] |