Fix name formatting by removing space before meta tag in final output
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user