fix poll results counter

This commit is contained in:
Ramon Souza 2021-03-17 15:20:00 -03:00
parent 8a2ddd5b9f
commit 5c5834ddc6

View File

@ -175,6 +175,8 @@ class MessageChatItem extends PureComponent {
if (!isDefaultPoll) {
const entries = _text.split('<br/>');
const options = [];
_text = _text.split('<br#>').join('<br/>');
entries.map((e) => {
// Sanitize. See: https://gist.github.com/sagewall/47164de600df05fb0f6f44d48a09c0bd
e = e.split('<br#>').join('<br/>');