remove whitespace at the end of the span tag

This commit is contained in:
awesomerobot 2023-02-07 15:55:54 -05:00
parent 3d5b04fe97
commit 4525def72a
1 changed files with 3 additions and 3 deletions

View File

@ -649,9 +649,9 @@ function initialize(api) {
tagName === "a" tagName === "a"
? `href="${getURL(assignedPath)}" data-auto-route="true"` ? `href="${getURL(assignedPath)}" data-auto-route="true"`
: ""; : "";
return `<${tagName} class="assigned-to discourse-tag simple" ${href}> return `<${tagName} class="assigned-to discourse-tag simple" ${href}>${icon}<span title="${escapeExpression(
${icon}<span title="${escapeExpression(note)}">${name}</span> note
</${tagName}>`; )}">${name}</span></${tagName}>`;
}) })
.join(""); .join("");
} }