Bloody whitespace...

This commit is contained in:
Nicolò P 2025-10-24 15:31:47 +02:00
parent c8de489ead
commit 262540e735

View File

@ -156,12 +156,9 @@ Utils.parseMarkers = function(text) {
if (matches.length) { if (matches.length) {
matches.forEach(match => { matches.forEach(match => {
const replacement = ` const replacement = `<a data-action="marker#go modal#close" data-controller="marker" data-marker-coords-value="${match.groups.coords}">
<a data-action="marker#go modal#close" data-controller="marker" data-marker-coords-value="${match.groups.coords}"> ${match.groups.content}</a>`;
${match.groups.content} text = text.replace(match.groups.marker, replacement.trim());
</a>
`;
text = text.replace(match.groups.marker, replacement);
}); });
} }