From 0bc4900b16bb2f1f909a7849c8c357b94bca4263 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 19 Dec 2024 10:33:32 +0100 Subject: [PATCH] fix(caption): honour carriage returns in datalayer description fix #2385 --- umap/static/umap/js/modules/caption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/modules/caption.js b/umap/static/umap/js/modules/caption.js index dd35b8bb..7e316945 100644 --- a/umap/static/umap/js/modules/caption.js +++ b/umap/static/umap/js/modules/caption.js @@ -73,7 +73,7 @@ export default class Caption extends Utils.WithTemplate {

- +

` const [element, { toolbox, description }] = Utils.loadTemplateWithRefs(template) if (datalayer.options.description) {