mirror of
https://github.com/imgfloat/server.git
synced 2026-02-04 19:29:26 +00:00
fix multi-emote rendering for 7tv
This commit is contained in:
@@ -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