Fix name formatting by removing space before meta tag in final output

This commit is contained in:
2026-01-05 15:56:30 +03:00
parent 38ba2fd576
commit 76d11a6621

View File

@@ -471,9 +471,7 @@ function operator(proxies, targetPlatform, utils) {
const tagStr = item._meta.iconTags.length ? ` ${item._meta.iconTags.join(" ")}` : "";
// Final name format:
// 🇩🇪 DEU-03 🌌 📺 ❻ ▫ws/vless/443
p.name = `${group.country.flag} ${group.country.iso3}-${num} ${item._meta.metaTag} ${item._meta.proto}${tagStr} ${debugSuffix}`
p.name = `${group.country.flag}${item._meta.metaTag} ${group.country.iso3}-${num} ${item._meta.proto}${tagStr} ${debugSuffix}`
.replace(/\s+/g, " ")
.trim();