(thumbnailString)
| 19346 | // the chip is already showing because some of the selection already has it. |
| 19347 | if (existingTag && !(containerId === 'multi-tags' && !skipSave)) return; |
| 19348 | |
| 19349 | // Create new tag element |
| 19350 | const tag = document.createElement('div'); |
| 19351 | tag.className = 'tag'; |
| 19352 | tag.setAttribute('data-tag-name', tagName); |
| 19353 | tag.setAttribute('title', tagName); // Show full tag name on hover |
| 19354 | tag.innerHTML = ` |
| 19355 | <span class="tag-text">${escapeHtml(tagName)}</span> |
no outgoing calls
no test coverage detected