From a6d5f610e8e0c2d0a33b92b45212b7fcda51489a Mon Sep 17 00:00:00 2001 From: "arnaud.morvan@camptocamp.com" Date: Wed, 5 Oct 2022 16:12:01 +0200 Subject: [PATCH] Do not htmlentities on map_option in json --- c2cgeoform/templates/widgets/map.pt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c2cgeoform/templates/widgets/map.pt b/c2cgeoform/templates/widgets/map.pt index 496911cb..0444e160 100644 --- a/c2cgeoform/templates/widgets/map.pt +++ b/c2cgeoform/templates/widgets/map.pt @@ -14,7 +14,7 @@ // Defer widget creation deform.addCallback('${oid}', function (oid) { c2cgeoform.initMapWidget(oid, Object.assign( - ${json.dumps(map_options)}, + ${structure: json.dumps(map_options)}, { geojson: '${cstruct}', drawPointTooltip: '${_('Draw point')}',