aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/maps/pins_js.html
diff options
context:
space:
mode:
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 %] ]