From 9034a66c9c0646f350c500c8aa765439c60d93ad Mon Sep 17 00:00:00 2001 From: zubiden <19638254+zubiden@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:22:17 +0200 Subject: [PATCH] Chat: Fix poll preview overflow (#4674) --- src/global/helpers/messageSummary.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/global/helpers/messageSummary.ts b/src/global/helpers/messageSummary.ts index 0527302a0..7aa9e142c 100644 --- a/src/global/helpers/messageSummary.ts +++ b/src/global/helpers/messageSummary.ts @@ -183,6 +183,7 @@ function getSummaryDescription( summary = renderTextWithEntities({ text: poll.summary.question.text, entities: poll.summary.question.entities, + noLineBreaks: true, }); }