From 873bafef2b469a3e540236c8192ec8840fbe4a9c Mon Sep 17 00:00:00 2001 From: Martin Rubli Date: Wed, 13 Dec 2023 23:30:29 +0100 Subject: [PATCH] layouts: map: Fix accidentally quoted true value in generated JS This doesn't seem to have had any practical impact, though. --- layouts/shortcodes/leaflet-map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/leaflet-map.html b/layouts/shortcodes/leaflet-map.html index 313c33e..3f624e2 100644 --- a/layouts/shortcodes/leaflet-map.html +++ b/layouts/shortcodes/leaflet-map.html @@ -137,7 +137,7 @@ Elevation profile options: }, scale: false, maximize: { - enabled: {{ .Get "maximizable" | default "true" }}, + enabled: {{ .Get "maximizable" | default "true" | safeJS }}, }, markers: [], tracks: [],