diff --git a/bigbluebutton-html5/imports/ui/components/chat/service.js b/bigbluebutton-html5/imports/ui/components/chat/service.js index 89d94ad4dfd4de0618194770c1a895ee7a83b6a4..5dfc922cf689b3690acf347cca2db40bcafb2f77 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 {