From be8d7405a0b7308420e3689dbf87843bd62708f0 Mon Sep 17 00:00:00 2001 From: germanocaumo <germanocaumo@gmail.com> Date: Sat, 29 May 2021 00:56:25 +0000 Subject: [PATCH] fix: missing line break of poll chat export --- bigbluebutton-html5/imports/ui/components/chat/service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/chat/service.js b/bigbluebutton-html5/imports/ui/components/chat/service.js index 89d94ad4df..5dfc922cf6 100755 --- a/bigbluebutton-html5/imports/ui/components/chat/service.js +++ b/bigbluebutton-html5/imports/ui/components/chat/service.js @@ -266,7 +266,7 @@ const exportChat = (timeWindowList, users, intl) => { } else if (message.id.includes(CHAT_POLL_RESULTS_MESSAGE)) { userName = `${intl.formatMessage(intlMessages.pollResult)}:\n`; const { pollResultData } = timeWindow.extra; - const pollText = htmlDecode(PollService.getPollResultString(pollResultData, intl)); + const pollText = htmlDecode(PollService.getPollResultString(pollResultData, intl).split('<br/>').join('\n')); // remove last \n to avoid empty line messageText = pollText.slice(0, -1); } else { -- GitLab