From 262540e735620578c2fd2a65011088bca6ceccf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P?= Date: Fri, 24 Oct 2025 15:31:47 +0200 Subject: [PATCH] Bloody whitespace... --- webgis/js/components/utils.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/webgis/js/components/utils.js b/webgis/js/components/utils.js index 7d9e621..27cd5dc 100644 --- a/webgis/js/components/utils.js +++ b/webgis/js/components/utils.js @@ -156,12 +156,9 @@ Utils.parseMarkers = function(text) { if (matches.length) { matches.forEach(match => { - const replacement = ` - - ${match.groups.content} - - `; - text = text.replace(match.groups.marker, replacement); + const replacement = ` + ${match.groups.content}`; + text = text.replace(match.groups.marker, replacement.trim()); }); }