A work-in-progress chat bot for Streamplace with chat overlay functionality
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

(fix) Take raw instead of content from richtext tokenizer

+4 -3
+4 -3
utils/richtextUtils.ts
··· 41 41 const flattenToText = (tokens: Token[]): string => { 42 42 return tokens 43 43 .map((t) => { 44 - if ("content" in t) { 45 - return t.content; 46 - } 44 + // "content" creates unexpected returns with markdown, not sure if there is a real use-case 45 + // if ("content" in t) { 46 + // return t.content; 47 + // } 47 48 if ("children" in t) { 48 49 return flattenToText(t.children); 49 50 }