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()); }); }