fix: remove space and / as artist separators, keep &

Separators: • · ; , & — space and / removed to avoid breaking multi-word artist names.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-05-24 12:31:52 +02:00
1 parent e5bb2bf2d3
commit f03c6dfabd
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -240,7 +240,7 @@ document.addEventListener('click', e => {
// Track artist → "Serph; Zun" | Album artist → "Serph, Zun"
function _fmtArtists(str, sep) {
if (!str) return '';
return str.split(/\s*[•·;,&/]\s*/).map(s => s.trim()).filter(Boolean).join(sep);
return str.split(/\s*[•·;,&]\s*/).map(s => s.trim()).filter(Boolean).join(sep);
}
function _renderInfoModal(s) {