Bloody whitespace...
This commit is contained in:
parent
c8de489ead
commit
262540e735
@ -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);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user