mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-29 05:12:47 -08:00
1 file changed
+2
-1
@@ -355,7 +355,8 @@ export const Reply = as<'div', ReplyProps>(
|
||||
}
|
||||
)?.question;
|
||||
image = timelineIcon(ListBullets);
|
||||
bodyJSX = `'s poll asking ${(question[M_TEXT.name] as string) ?? question.body ?? ''}`;
|
||||
if (question)
|
||||
bodyJSX = `'s poll asking ${(question[M_TEXT.name] as string) ?? question?.body ?? ''}`;
|
||||
} else if (isFormattedReply && formattedBody !== '') {
|
||||
const sanitizedHtml = sanitizeReplyFormattedPreview(formattedBody);
|
||||
if (shouldParseReplyFormattedPreview(sanitizedHtml)) {
|
||||
|
||||
Reference in new issue
Block a user