fix multi-emote rendering for 7tv

This commit is contained in:
2026-01-14 01:54:29 +01:00
parent 8b21334705
commit 09810706bb

View File

@@ -585,12 +585,12 @@ export class BroadcastRenderer {
enhanced.push(fragment);
return;
}
const parts = fragment.text.split(/(\\s+)/);
const parts = fragment.text.split(/(\s+)/);
parts.forEach((part) => {
if (!part) {
return;
}
if (/^\\s+$/.test(part)) {
if (/^\s+$/.test(part)) {
enhanced.push({ type: "text", text: part });
return;
}