Skip to content

Commit 5339ca0

Browse files
committed
FIX: handle multi-line popup content
1 parent bcfaccf commit 5339ca0

File tree

1 file changed

+1
-1
lines changed
  • templates/EdgarIndustries/ElementalMap/Block

1 file changed

+1
-1
lines changed

templates/EdgarIndustries/ElementalMap/Block/MapBlock.ss

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
var map{$Up.ID}marker{$ID} = L.marker([{$Latitude}, {$Longitude}]).addTo(map{$Up.ID});
1616

1717
<% if $PopupContent %>
18-
map{$Up.ID}marker{$ID}.bindPopup('{$PopupContent}');
18+
map{$Up.ID}marker{$ID}.bindPopup(`{$PopupContent}`);
1919
<% end_if %>
2020
<% end_loop %>
2121
<% end_if %>

0 commit comments

Comments
 (0)