mirror of
https://github.com/imgfloat/server.git
synced 2026-11-05 06:44:08 +00:00
fix multi-emote rendering for 7tv
This commit is contained in:
1 parent
8b21334705
commit
09810706bb
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user